The judge said he was “under extreme stress due to treatment for a medical condition and the death of a close friend.”

A Texas judge who instructed the jury to continue deliberations after it returned a guilty verdict because God told him the defendant was innocent has received a public warning, according to the Laredo Morning News.

Following the Jan. 12, 2018 incident, Judge Jack Robison reported himself to the Texas Commission on Judicial Conduct.

The trial involved Gloria Romero Perez, who the Morning News said was “charged with continuous sex trafficking and the sale or purchase of a child.”

After the jury reached its guilty verdict, Robison instructed them to continue deliberations, because a conviction would be a miscarriage of justice — which he later claimed God told him.

“When God tells me I gotta do something, I gotta do it,” the disciplinary report said Robison told the jury when he subsequently apologized for the outburst.

Though the jury was unmoved by the judge’s comments and Romero Perez was found guilty and sentenced to 25 years in prison, the conviction was declared a mistrial “after a judge found that Robison's rulings were not in accordance with the law and that he made partial comments throughout the trial.”

Robison reportedly told the committee in his self-report that he was “under extreme stress due to treatment for a medical condition and the death of a close friend” and was suffering memory lapses at the time of the incident.

Letters from two medical professionals backed up the judge’s story, stating that his outburst was the result of a "temporary, episodic medical condition referred to as a 'delirum.’”

Read more.