Comal County judge said God told him to intervene in jury deliberations to sway jurors to return a not guilty verdict in the trial of a Buda woman accused of trafficking a teen girl for sex.

Judge Jack Robison apologized to jurors for the interruption but defended his actions by telling them, "When God tells me I gotta do something, I gotta do it," according to the Herald-Zeitung, in New Braunfels.

The jury went against the judge’s wishes, finding Gloria Romero-Perez guilty of continuous trafficking of a person and later sentenced her to 25 years in prison. They found her not guilty of a separate charge of sale or purchase of a child.

Robison, who also presides in Hays County, did not respond to a message left with his court coordinator, Steve Thomas, who said the case is pending.

The Herald-Zeitung reported that Robison recused himself before the trial’s sentencing phase and was replaced by Judge Gary Steele. The defendant’s attorney asked for a mistrial but was denied.

Robison’s actions could trigger an investigation from the State Commission on Judicial Conduct, which has disciplined Robison in the past.

In 2011, the commission slapped Robison with a private reprimand for improperly jailing a Caldwell County grandfather who had called him a fool for a ruling Robison made in a child custody case involving the man's granddaughter.

The reprimand, the commission’s harshest form of rebuke, said Robison “exceeded the scope of his authority and failed to comply with the law” by jailing the man for contempt of court without a hearing or advance notice of the charge.