It stems from complaints and media stories alleging that Coker "had engaged in improper ex parte text communications with Polk County Assistant District Attorney Kaycee Jones while Judge Coker presided" over a criminal trial in August of 2012.

With those complaints, "the commission commenced an investigation into allegations that Judge Coker used Assistant District Attorney Jones to privately communicate information" about the case "to suggest questions for the prosecutor to ask during the trial" among other issues.

The agreement also said the commission looked into other complaints that Coker allegedy engaged in other improper communications and meetings with Jones, other members of the Polk County prosecutor's office, the San Jacinto County District Attorney and certain defense attorneys.

The agreement goes on to say "the parties agree that the allegations of judicial misconduct, if found to be true, could result in disciplinary action against Judge Coker." As a result, the parties sought to resolve the matter "without the time and expense of further disciplinary proceedings."

Coker did not admit any guilt or fault.

Her resignation will take effect Dec. 6 but she will take a voluntary leave of absence until that time and not perform any official duties. Under the agreement, she will be disqualified from sitting or serving as a judge in Texas,

Coker, 46, has been on the 258th bench for 14 years and is the third generation in her family to serve on an East Texas bench. Her father and grandfather also served.