MONROE, Wis. -

Monroe police said a man who holed up in a house in the 600 block of 19th Avenue was taken into custody Thursday morning after a 13-hour standoff.

Authorities were called to the home around 5:45 p.m. Wednesday for reports of man threatening to hurt himself with a firearm. Police said the 32-year-old man brandished a pistol in front of his friends and threatened to shoot himself.

Officers said police negotiators were able to talk to the man by phone on-and-off during the standoff.

At one point the man shot the pistol into the floor of the home, according to police.

When negotiations broke off, police broke a window of the home to get his attention, and shortly after, negotiations broke down again. Officers said they used percussion devices and chemical irritants, and negotiations restarted.

The man agreed to come out, and the standoff was resolved at 6:30 a.m.

Officials said they believed no one else was in danger. Some residents in the area were asked to stay in their homes as a precaution during the standoff.

The man was not injured. He was placed in an emergency detention for a mental assessment. The case will be reviewed by the Green County district attorney for consideration of possible charges.