VASSALBORO, Maine — A Fairfield man whom police say they have dealt with numerous times was arrested Friday in Vassalboro, police said.

William McLain, 31, is accused of burglary and refusing to submit to arrest, according to Chief Deputy Ryan Reardon of the Kennebec County Sheriff’s Office.

Police had been dispatched to a Vassalboro home on Friday after it was reported that McLain broke into the residence, according to a police report by Sgt. Mike Pion of the sheriff’s office.

The female victim was able to stay in contact with police while hiding in a closet, according to Pion’s report.

As police arrived, McLain apparently attempted to flee out a back door, but saw that Cpl. G.J. Neagle and a K-9 unit had arrived and the suspect fled back into the residence, according to the report.

Upon going back inside, McLain found the closet where the homeowner was hiding and located her, Pion’s report states, and as he tried to flee, he encountered Neagle, his dog Draco and Deputy Galen Estes waiting for him.

Despite the officers ordering McLain to the ground, he fled into the woods and a K-9 track was initiated, Pion’s report said. As Pion arrived at the scene and discovered the homeowner was OK, he said he also found numerous open drawers and jewelry all over the floor.

Neagle and Draco were eventually able to locate McLain cowering in a bog, and he was taken into custody without incident.

McLain was booked on the burglary charge along with refusing to submit to arrest and brought to Kennebec County Jail, where his bail was set at $15,000 cash.