Aaron Hernandez, the former New England Patriots tight end, was found not guilty of a drive-by shooting in Boston in 2012.

He was also acquitted on Friday of witness intimidation at Suffolk Superior Court in Boston. The jury had been deliberating since April 7.

Hernandez was convicted of the unlawful carrying of a .38-caliber revolver. He was sentenced to four to five years in prison for that offense.

Mr. Hernandez, 27, is already serving a life sentence without the possibility of parole from a 2015 first-degree murder conviction in the killing of Odin Lloyd, who was dating the sister of Mr. Hernandez’s fiancée, Shayanna Jenkins. He has appealed that verdict. Mr. Hernandez’s motive in that case, prosecutors said, was that Mr. Lloyd spoke with people Mr. Hernandez did not like at a bar in Boston.