NEWBURYPORT – A Beverly man accused of having a handgun without a license was sentenced to three months in jail after pleading guilty to the charge Tuesday in Newburyport District Court.

Nicholas A. Corriere, 26, of 8 Museum Road, Beverly, was sentenced to 18 months behind bars but saw all but 89 days suspended for two years while he's on probation. He was given credit for 89 days already served.

Corriere also pleaded guilty to possession of ammunition without a firearms ID card and sentenced to two years probation. During that time, Corriere must stay out of trouble with the law, forfeit his handgun, remain drug and alcohol free with random screens and must not possess any firearms.

At the time of his arrest in Amesbury in May, Corriere was wanted by police in Connecticut. According to court records, Corriere was ordered to return to Connecticut to clear up the warrant.

The records say Corriere parked his van with a Florida license plate across from the Garrison Trail in the Old Merrill Street parking lot on May 17. By 11:30 p.m. it was the only vehicle there, which drew the attention of an Amesbury police officer on patrol.

After checking the license plate, Officer Teagan Davis learned that authorities in Connecticut had issued a fugitive warrant for Corriere's arrest based on an abetting charge.

Davis, along with Officers Thomas Nichols and Kyle Arseneau, arrested Corriere without incident. While searching his van, police found a loaded .380-caliber semiautomatic handgun and ammunition.

At his arraignment days later, Corriere's attorney said his client bought the gun in Florida where he lived recently and simply failed to register it in Massachusetts.