A Dutchess County man was found guilty in connection with an Ulster County nightclub shooting where 15 shots were fired.

An Ulster County jury deliberated for five hours before finding 22-year-old DiMetri Mosely guilty of criminal possession of a weapon, a class C violent felony.

The guilty verdict stems from a Jan. 25, 2014 shooting, outside of Home, a night club located on 9W in Lloyd. At least two people fired shots into a crowd of people as they exited the club, police say.

Mosely was found guilty of firing five shots as he walked through the crowd.

According to the Ulster County District Attorney’s Office, Mosely, along with Tahmel Gordon, Jaquan Higgs and Frederick Smith drove away from the scene after police arrived with Gordon at the wheel.

After a pursuit, police eventually surrounded the vehicle. Smith was seen throwing a loaded semi-automatic pistol out the door. Shortly after, Gordon was seen pulling a gun from his waistband. He was shot twice by police. His injuries were not life threatening.

The .38 caliber revolver later was determined to have five spent casings in its chamber. After Gordon was shot, he passed the revolver to the backseat passenger, Moseley. Moseley placed the revolver in a black jacket, which was later recovered by police.

Smith got out of the vehicle and fled into the woods before he was detained and arrested. In March, he was sentenced to 15 years in prison.

Moseley has prior criminal history that includes resisting arrest and a bench warrant, authorities say. He’s facing a maximum of 15 years in prison.