A Texas sheriff’s deputy who also appeared on a courtroom TV show was busted for allegedly fatally shooting his wife over the weekend, according to a new report.

Deputy Renard Spivey, of the Harris County Sheriff’s Office, called the cops around 3 a.m. Sunday to report what he called an accidental shooting, authorities told local outlet ABC 13.

The situation involved a domestic disturbance, police said.

Spivey’s wife, Patricia Spivey, was pronounced dead on the scene, while he sustained a leg wound, cops said.

The deputy was arrested and charged with murder, authorities told the outlet.

His IMDb profile says he was featured as a bailiff on the TV show “Justice for All with Judge Cristina Perez” from 2012 to 2016.

The sheriff’s office told the outlet it has no record of any domestic violence issues involving Spivey, who remained hospitalized Tuesday.

Court documents obtained by the outlet indicate that Spivey may have a mental illness or intellectual disability — and he will undergo a mental health assessment.

Patricia’s brother, Ezra Washington, called her a faith-filled person who volunteered her time to take photos for the church.

“She just loved life,” Washington told the station. “Always smiling. Always loved photography. Loved to take pictures.”

He also recalled that his sister was around to support him after two open heart surgeries.

“Way to go bro. Love you bro,” he recalled her saying.

“I know where she’s going,” he added. “I know the life she lived. You know, she did well. Gone too soon but she did well.”