Nearly a month after a city board ordered Jim's Car Wash to close, a judge on Monday rejected the owner's late bid to keep from permanently shuttering his business.

State District Judge Eric Moyé upheld the Friday deadline from the city's Board of Adjustment. The board in June gave the South Dallas car wash along Martin Luther King Jr. Boulevard 30 days to close.

The owner, Dale Davenport, will still possess the property, but zoning rules will restrict him from running a car wash on the site.

The hearing was the latest in a long-running legal battle over the car wash, which city officials and some neighbors have long viewed as a source of crime in South Dallas. Their case was bolstered after a shooting at the car wash last month left a woman dead and others wounded.

But Davenport has fought to keep Jim's open, saying he's not responsible for the crime in the area.

Moyé in June signed off on a temporary injunction that called for Davenport to provide security. Davenport's attorney Warren Norred called the injunction "coercive" in its effect.

The owner and his attorney have appealed the temporary injunction, which required a regular patrol as well as barricades at the business's entry points.

At Monday's hearing, Norred argued for a dynamic injunction that he said would better meet demands for public safety. He asked Moyé to allow Davenport to increase security as police presence decreased around the car wash.

Dallas police have targeted the neighborhood as part of an effort to reduce crime in the city. But police Maj. Vincent Weddington testified that did not mean the increased police would remain permanently.

Weddington also testified that police might have to remove a monitored surveillance camera from the car wash premises if the need arises. The camera boosted Davenport's argument that his business was better monitored than other car washes in Dallas.

Moyé ultimately decided to remove language from the injunction that required Davenport to maintain security even when the business is closed.