A Sacramento man was arrested after he left his car idling. That’s a law?

The Sacramento ordinance used to arrest a man earlier this month after he left his car running at a South Land Park 7-Eleven was passed more than 50 years ago, following a warning from the city’s then-police chief of an increase in car thefts, archived Sacramento City Council documents show.

Craig Williams was arrested on May 4 after he allegedly left his car running while stopping at a South Land Park 7-Eleven. But officials announced Monday they were not going to file charges against him. Williams was suspected of resisting arrest and leaving “the ignition key in an unattended vehicle,” police said. The Sacramento Police Department released body-worn camera footage and surveillance video of the incident days later.

Williams’ lawyer, Justin Ward, told reporters it appeared his client did not believe the idling ordinance was a real law.