LINNEUS, Maine — Joseph Cordeiro, 47, was arrested early Monday morning after allegedly shooting a 19-year-old in the leg during a gathering at the man’s Bangor Road house Sunday evening. Police said there were several youths under the legal drinking age attending a gathering at the house, and authorities on Monday still were trying to sort out who was drinking alcohol.

Police said alcohol definitely was a factor in the shooting.

The 19-year-old was shot in the lower leg with a .22-caliber pistol. By the time the emergency dispatchers received the 911 call about the shooting just before midnight, the teenager was on his way to Houlton Regional Hospital, Maine State Police Sgt. Tom Pelletier said Monday. The teen was treated and then released.

Pelletier said investigating Troopers Carmen Lilley and Timmy Saucier interviewed several witnesses at the residence, and that Cordeiro was arrested there without incident on charges of Class A elevated aggravated assault, Class B aggravated reckless conduct with a firearm and Class D furnishing a place for minors to consume alcohol.

Pelletier said Monday afternoon that alcohol was a major factor in why the shooting occurred. He said there were a number of minors at the gathering, and police continue to investigate to determine how many were drinking at the late evening event.

Class A crimes are punishable by up to 40 years in prison and a $50,000 fine; Class B by up to 10 years in prison and a $20,000 fine; and Class D by up to a year in jail and $2,000 fine.

Detectives with the State Police Criminal Investigation Division III are assisting with the investigation.