Harris County Judge Ed Emmett's office confirms Harris County Justice of the Peace Hilary Green, who'd been a judge since 2007, quit on Tuesday.
According to Green's resignation letter, the former judge said she was resigning to focus her attention on her family.
[Ads /]
The Texas Supreme Court suspended Green amid allegations she sexted in court and used illegal drugs. The State Commission on Judicial Conduct earlier investigated Green amid complaints since 2012.
ABC13 app users: Click here to read Green's resignation letter.
Records show Green, in response, acknowledged she illegally obtained prescription drugs, used marijuana and engaged in sexually explicit and drug-related texts with a bailiff.
Green had faced trial in April to determine her judicial future.
[Ads /]
County commissioners will appoint a replacement for Democrat Green, to serve until the November election.
The Associated Press contributed to this report.
ORIGINAL REPORT: Judge could be removed from office over allegations of drug abuse
Judge accused of drug abuse