Shocking video showing the killing of a Kentucky judge in his chambers was played during a court hearing for the ex-sheriff who is charged in the murder.

The short video clip was presented by prosecutors during the preliminary hearing for Letcher County Sheriff Shawn "Mickey" Stines showed the shocking moments that he allegedly opened fire on 54-year-old District Judge Kevin Mullins on Sept. 19.

The video, with no audio, showed a man identified by police as Stines pulling out a gun and shooting the judge as he sat at his desk. The man walked around the desk, pointed the gun at the judge — who had fallen to the floor — and fired again.

The emotions of individuals in the courtroom were palpable, with some audibly moaning and crying.

SHOCKING ATTACK ON NEVADA JUDGE SHOWS NEED FOR GREATER PROTECTIONS, SAYS JUDGE WHOSE SON WAS KILLED

Former Letcher County Ky. Sheriff Shawn "Mickey" Stines

Former Letcher County Ky. Sheriff Shawn "Mickey" Stines looks over at the prosecutors during his arraignment at the Morgan County Courthouse in West Liberty, Ky., Tuesday, Oct. 1, 2024. Stines is accused of killing District Judge Kevin Mullins. (AP Photo/Timothy D. Easley)

Mullins died from multiple gunshot wounds, Kentucky State Police Detective Clayton Stamper testified Tuesday. 

Stines entered a not guilty plea to first-degree murder at his arraignment last week and is being held in another Kentucky county.

District Judge Kevin Mullins and Letcher County Sheriff Shawn M. Stines

District Judge Kevin Mullins, 54, was killed by Letcher County Sheriff Shawn M. Stines, 43, in his judge's chambers, authorities said Thursday.  (Kentucky Court of Justice ;Letcher County Sheriff's Office)

Stamper said that Stines and Mullins had amicably eaten lunch with a group prior to the shooting and no witnesses observed any anger in their conversation.

EX-GANG LEADER SUSPECTED OF TUPAC SHAKUR MURDER SEEKS HOUSE ARREST PRIOR TO TRIAL

"I was told that the judge made a statement to Mickey about, ‘Do we need to meet private in my chambers?’" Stamper said, adding that he didn’t know what it was about.

Letcher County Sheriff Shawn M. Stines appears in a mugshot

This booking photo provided by Leslie County Detention Center in Kentucky on Friday, Sept. 20, 2024 shows Letcher County Sheriff Shawn M. Stines. (Leslie County Detention Center via AP)

Stamper said that while he was not directly aware of any prior relationship between the pair, he did say that he had "heard things" regarding a lawsuit involving the sheriff’s office.

LAS VEGAS COURTROOM ATTACK HIGHLIGHTS ISSUE OF VIOLENCE AGAINST JUDGES: EXPERTS

Stines had been deposed in a lawsuit filed by two women, one of whom alleged a deputy sheriff forced her to have sex inside Mullins’ chambers for six months in exchange for staying out of jail. 

The lawsuit accused the now-former sheriff of "deliberate indifference in failing to adequately train and supervise" the deputy.

Former Letcher County Ky. Sheriff Shawn "Mickey" Stines wipes his eyes

Former Letcher County Ky. Sheriff Shawn "Mickey" Stines wipes his eyes as he listens to testimony during his arraignment at the Morgan County Courthouse in West Liberty, Ky., Tuesday, Oct. 1, 2024. Stines is accused in the shooting death of Ky. District Judge Kevin Mullins. (AP Photo/Timothy D. Easley) (AP Photo/Timothy D. Easley)

A handful of people were in a room next to Mullins’ chambers when the shots rang out. Stines was in custody by the time he arrived at the courthouse, Stamper said.

Stamper said Stines was "mostly calm" by the time he arrived at the shooting scene. "Basically, all he said was, ‘Treat me fair,’" Stamper said.

CLICK HERE TO GET THE FOX NEWS APP

At the end of the hearing, Judge Rupert Wilhoit III determined probable cause exists to believe Stines committed the crime, allowing the case to go to a grand jury to decide whether to indict Stines.

If convicted of first-degree murder, Stines could face the death penalty.

The Associated Press contributed to this report.