A 13-hour standoff in Waterville was prompted when a man allegedly tried to shoot through the floor to his landlord's apartment below.

Centralmaine.com reports 23-year-old Michael Joslyn was upset with his landlord and was intoxicated when he allegedly fired six shots inside his College Avenue apartment. Police say he was shooting at the floor, hoping the bullets would penetrate through to his landlord's apartment.

A perimeter was set up while police tried to convince Joslyn to come out of the building and give himself up. He exited the building sometime between 11 and 11:30 Sunday morning, but still wasn't cooperative. He kept walking into and back out of the house until a police tactical team used their pepper-ball system, firing several rounds until Joslyn was subdued.

He's been charged with three counts of aggravated reckless conduct and aggravated criminal mischief, which are both felonies. In addition, he faces two misdemeanor charges of refusing to submit to arrest and creating a police standoff. Joslyn was taken to Kennebec County jail where bail was set at $6,000.