Rosemary Lehmberg isn't going anywhere. David Peeples, a visiting district judge from San Antonio, has denied a petition to remove the Travis County district attorney from her position, representatives from her office confirmed Wednesday.

In April, Lehmberg faced charges for driving while intoxicated. Jim Collins, an assistant county attorney who prosecuted Lehmberg’s case, had argued that keeping Lehmberg in office would go against the public’s best interest, speculating that her behavior could relapse.

The state's Republican leadership has been vocal in its criticism of Lehmberg, a Democrat, following the DWI charge. Gov. Rick Perry has called Lehmberg's actions "inappropriate," and he vetoed $7.5 million in funding for her office's Public Integrity Unit, which investigates corruption in public office, in an effort to force her resignation.

In a statement, Lehmberg said she is "relieved and thankful that the process is over." "I deeply regret my actions on April 12th and have taken full responsibility," she said. "I am committed to carrying out my responsibilities as District Attorney and to continue serving the voters of Travis County."

The Texas Tribune thanks its sponsors. Become one.

Texas Tribune donors or members may be quoted or mentioned in our stories, or may be the subject of them. For a complete list of contributors, click here.