Former Louisville, Kentucky, police officer Brett Hankison, the only cop charged in connection with the raid that ended in Breonna Taylor's death, was acquitted on Thursday after the jury deliberated for approximately three hours.

A Kentucky jury – eight men and four women – cleared Hankison, 45, of three counts of wanton endangerment, which were punishable by one to five years in prison, for firing shots during the raid that went through a sliding-glass side door and a window of Taylor's apartment and into a unit next door where a couple and small child lived.

Hankison was immediately released as a free man and did not appear outside the courtroom after the verdict was read. But his attorney Stewart Mathews said he and his client were "thrilled.

Hankison, 45, had been charged for allegedly firing through sliding-glass side doors and a window of Taylor's apartment during the raid that left the 26-year-old Black woman dead. Hankison’s attorneys never contested the ballistics evidence, but said he fired 10 bullets because he thought his fellow officers were "being executed."

The jury of 10 men and five women was selected after several days of questioning from a pool expanded to about 250 people. Before deliberations, the jury was reduced to eight men and four women after three alternates were dismissed. The judge declined to release details about their race or ethnicity.

Hankison testified during the trial that he saw a muzzle flash from Taylor’s darkened hallway after police burst through the door and thought officers were under heavy fire, so he quickly wheeled around a corner and sprayed 10 bullets, hoping to end the threat.

BREONNA TAYLOR: EX-LOUISVILLE POLICE OFFICER WHO FIRED FATAL SHOT TO ASK FOR HIS JOB BACK

But in closing arguments Thursday, prosecutors cast doubt on what Hankison said he saw, challenging whether he could have looked through Taylor’s front door when police broke it open with a battering ram.

"He was never in the doorway," Assistant Kentucky Attorney General Barbara Maines Whaley told the jury. Referring to Taylor she added, "His wanton conduct could have multiplied her death by three, easily."

Whaley also reminded the jury that none of the other officers who testified recalled Hankison being in the doorway before the gunfire began. All the shells from his weapon were found in the parking lot, among a row of cars. She said while other officers were in the line of fire of a single shot fired by Taylor’s boyfriend, Hankison was "over here, shooting wildly through sliding-glass doors covered with vertical blinds and drapes."

BREONNA TAYLOR FAMILY LAWYER FILES NEW LAWSUIT ALLEGING LOUISVILLE POLICE WITHHELD BODY CAMERA RECORDS

The former narcotics detective admitted to firing through Taylor's patio doors and bedroom window, but said he did so to save his fellow officers. Asked if he did anything wrong that night, he said "absolutely not." Hankison was fired by Louisville Police for shooting blindly during the raid.

Mathews told the jury in his closing argument Thursday that Hankison thought he was doing the right thing and is not a criminal who belongs in prison.

"He did what he thought he had to do in that instant,"  Mathews said. "This all happened in such a short span."

BREONNA TAYLOR DEATH: LOUISVILLE POLICE DOCUMENTS SHINE LIGHT INTO INVESTIGATION DETAILS

A 20-year veteran K-9 officer assigned to handle a drug-sniffing dog during the raid, Hankison said he was positioned behind an officer with a battering ram, and could see the shadowy silhouette of a person "in a shooting stance" with what looked like an AR-15 rifle as Taylor's door swung open. No long gun was ever found. 

The killing of Taylor loomed over the trial, though prosecutors insisted in opening statements that the case wasn’t about her death or the police decisions that led to the March 13, 2020, raid. Jurors were shown a single image of her body, barely discernible at the end of the hallway.

Taylor, a 26-year-old emergency medical technician who had been settling down for bed when officers broke through her door, was shot multiple times and died at the scene.

CLICK HERE TO GET THE FOX NEWS APP

Kentucky Attorney General David Cameron's prosecutors asked a grand jury to indict Hankison on charges of endangering Taylor’s neighbors, but declined to seek charges against any officers involved in Taylor's death. Protesters who had walked the streets for months were outraged.

The Associated Press contributed to this report.