A Massachusetts jury has convicted a local man for the murder of Yarmouth police Sgt. Sean Gannon, according to local reports. 

A Barnstable Superior Court jury on Friday morning found Thomas Latanowich, of Somerville, guilty of second-degree murder, as well as assault and battery with a dangerous weapon, firearm possession without a license and mistreating/interfering with a police K9, local news station WCVB reported. The jury had been deliberating since Tuesday afternoon. 

Gannon, 32, the department’s K-9 officer, was killed in April 2018 while he and other officers were serving an arrest warrant for a possible probation violation at a Barnstable home. Gannon’s dog, Nero, was also shot but survived.

MASSACHUSETTS LAWMAKER PUSHES TO REINSTATE DEATH PENALTY AFTER COP KILLING

Latanowich was described by prosecutors as a career criminal with a lengthy record.

BOSTON SHOOTING SENDS DINING PATRONS RUNNING FOR COVER IN 'STAMPEDE OF PEOPLE' WITH 'FEAR ON THEIR FACES'

He pleaded not guilty and had been held without bail since his arrest.

Latanowich’s lawyer, Joseph Krowski, has said that Latanowich acted in self-defense and was afraid for his life because the officers were the aggressors. At the start of the trial, Krowski also said his client did not know Gannon was a police officer when he shot him, saying he feared it was someone else with whom he had a dispute.

CLICK HERE TO GET THE FOX NEWS APP

The Associated Press contributed to this report.