A Texas district attorney is allowed to keep her job after she admitted to drunk driving.
Travis County District Attorney Rosemary Lehmberg pleaded guilty to criminal drunk-driving charges in April.
Afterward, Travis County Attorney David Escamilla filed a petition asking for Lehmberg to be removed from office.
County sheriff's deputies testified in court that she was rude, loud, angry and belligerent in jail. Authorities said she was combative and had to be strapped into a restraint chair.
The image above shows her kicking the door at Travis County jail. Her arrest video appears below.
Shortly after her arrest, Gov. Rick Perry (R-Texas) called for her resignation. Lehmberg refused.
Assistant Travis County Attorney Jim Collins argued that keeping Lehmberg in office would harm the public interest.
"It is nothing else but by the grace of God that we're here for a removal hearing and not a funeral," he said in his closing arguments. "She lies even under oath. Mostly she lies about what she drinks."
State District Judge David Peeples ruled in Lehmberg's favor last week, Courthouse News Service reported.
After the ruling, Lehmberg promised the community to "keep doing the right thing, like I always have."
"Obviously, I am relieved," she said outside the courtroom. "This has been a long eight months. First of all, I want to apologize again for my behavior. I think I have said over and over again that is was inexcusable and I have tried to do everything I can to fix it. ... I want to thank everyone who has supported me in my attempt to regain the confidence of this community."