Police have arrested a man who surrendered Monday night after a three-hour break in a Manchester hotel.

Officials said they tried to contact Jordan Pappalardo, 26, of Manchester, New Hampshire, around 10:30 p.m. after learning he was staying at the Courtyard by Marriott on Slater Street. Pappalardo reportedly received an extraditable arrest warrant from New Hampshire, authorities added.

When police tried to contact Pappalardo, he said he had a gun and, according to investigators, threatened to shoot the police.

A perimeter was established and the rooms were evacuated.

The crews of the Capitol Region Emergency Services Team (CREST) ​​responded and began communicating with Pappalardo, police said. During this time, investigators said they learned that a 20-year-old acquaintance was also in the room with Pappalardo.

CREST negotiators made telephone contact with Pappalardo and the woman, police said. After three hours of negotiations, Pappalardo surrendered willingly and peacefully, officials added. The woman was secured and assessed.

Pappalardo was taken into custody and is charged with, among other things, violating the peace, reckless endangering, threatening, meddling with the police and being a refugee from the judiciary. He’s on a $ 400,000 bond and will be tried Tuesday morning.

The investigation is still ongoing.