Updated at 7:10 p.m.: Revised to include information from a community safety meeting Thursday evening.

After a recent deadly shooting at a notorious South Dallas car wash, a judge on Thursday ordered the business' owner to provide more security to "ameliorate crime," he said.

Dallas city attorneys, who have long characterized the car wash on Martin Luther King Jr. Boulevard as a magnet for crime, requested the temporary restraining order.

State District Judge Eric Moye on Thursday agreed with the city's arguments, writing in the order that Jim's "is a place to which persons habitually go to commit crimes," and that the owner, Dale Davenport, had "failed to take reasonable steps to abate the habitual criminal activity on the property that continues to this day."

Davenport said he might close Jim's Car Wash as a result, but the judge said he'd still have to take on additional security measures.

Andrew Gilbert, one of two attorneys who represented the city, said he was pleased by the judge's decision.

"This is a last resort," Gilbert said. "We want property owners to be proactive and take steps to reduce the occurrence of crime on their property."

Davenport has long argued that the crime data was out of context because the car wash is in a high-crime area, and that he can't afford security. His attorney, Warren Norred, made the same argument Thursday.

"Even if crime is happening at the car wash, if it's happening twice as much nearby, my client should be given accolades for keeping crime down," he said.

Norred pointed to the bright lights Davenport had installed at the business as a deterrent to criminals.

But the judge required Davenport to do more; Moye's order calls for Davenport to hire a minimum of two peace officers and have a constant patrol of the premises. Moye declined, however, to require an armed guard as the city had suggested.

Moye said the car wash may operate only between 7 a.m. to 9 p.m., after which no one should be allowed on the site. The order also states patrons should only be allowed to remain at the car wash for a maximum of one hour, which is how long Davenport said it takes to wash and vacuum a car.

Dale Davenport (left), owner of Jim's Car Wash, testified before the Dallas Board of Adjustment in March while accompanied by his attorney, Warren Norred. (Ryan Michalesko / Staff Photographer)

Davenport said the judge's order was too onerous and would require him to shut down his business.

Norred urged Moye to make clear which requirements Davenport would have to uphold if the business closed. Moye responded that to comply with his order, the car wash must maintain barricades at all points of entry and have a regular patrol to ensure there is no trespassing.

The restraining order came days after a shootout at the car wash that left four people injured and Sheila Sanders, 56, dead. City attorneys cited the incident to support their argument for urgent legal intervention. The attorneys also submitted affidavits they said showed the pattern of violence at Jim's, citing five crimes that occurred there since August 2018.

The order's conditions will be in effect for two weeks, through June 20. On that day, the two sides will meet again for a temporary injunction hearing.

City attorneys said they do not yet have a plan for what they will seek from the temporary injunction hearing. The next two weeks will be akin to a trial period, Gilbert said, and the judge will take the order's effects into account at the hearing.

Thursday's order marked another battle in a years-long war between Davenport and the city over the property. The city's Board of Adjustment, which voted earlier this year to effectively shut down the car wash, will have another hearing June 19 to set a date at which it will require Davenport to close the car wash.

The hearings about the car wash have been heated at times, with neighbors, attorneys and Davenport pointing fingers. And at points during Thursday's hearing, both sides became visibly frustrated with the proceedings. Moye issued stern rebukes to all of them at one point or another, often for interruptions or statements deemed inappropriate.

Both parties met for about 10 minutes before the hearing to determine whether they could agree on terms that satisfied both, but told Moye they had not fully discussed it. Moye scolded the attorneys and sent them to confer privately for another 10 minutes, but they could not reach an agreement.

Davenport said he met with Dallas officers Wednesday to discuss measures that would decrease crime on the property, including barricades and a police-installed live feed camera on the premises.

1 / 3Orece Tasby takes advantage of the crowd by washing spectators' cars for tip money at Jim's Car Wash during the 27th Annual Elite News Martin Luther King Jr. parade in Dallas, Texas, on January 21, 2013. (Stan Olszewski/The Dallas Morning News)(Stan Olszewski / Staff Photographer) 2 / 3Caution tape on the ground across the street from Jim's Car Wash in Dallas on Monday, June 3, 2019. Four gunshot victims were found at the car wash on Sunday evening. One was killed and four people were injured in the shooting. (Vernon Bryant/The Dallas Morning News)(Vernon Bryant / Staff Photographer) 3 / 3Tire marks on the ground show where cars did donuts outside of Jim's Car Wash in Dallas on Monday, June 3, 2019. Four gunshot victims were found at the car wash on Sunday evening. One was killed and four people were injured in the shooting. (Vernon Bryant/The Dallas Morning News)(Vernon Bryant / Staff Photographer)

He scoffed when a city attorney questioned his commitment to keeping the property safe. Moye scolded him for his reaction.

After the judge granted the order, Norred argued that Moye had ordered Davenport to stop crime -- something the city and its police department had failed to do.

But Moye cut off the attorney's statement, saying it was "too hyperbolic" and that he wasn't interested in Norred’s critique of City Hall.

At a community safety meeting Thursday night, Dallas City Council member Kevin Felder called the restraining order “promising news.”

The meeting, which was hosted by the Dallas Police Department, was held at a recreation center blocks from the car wash and was intended to tackle how police could address safety concerns in the neighborhood.

Police Chief U. Renee Hall said the department has beefed up patrols in the area.

“We have foot patrols. We have mounted," Hall said. "We have bicycle units, mobile units and the state police that’s been helping us in this particular area."

Staff writer Maria Elena Vizcaino contributed to this report.