Lincoln County Sheriff’s deputies arrested a Whitefield man Tuesday following a chase through the woods by officers and a police dog.

Jeffery Luce, 36, faces charges of felony theft, felony escape and violating conditions of release after he allegedly stole batteries from Bartlett’s Auto Sales in Whitefield, then ran away when police came to his home to arrest him.

Police say the owner of a redemption center told them he bought the batteries from Luce, and on Tuesday police questioned Luce at his home. When police allowed Luce to go into the bedroom to change before arresting him — he was wearing pajamas — his wife began yelling at police and that’s when her husband escaped from the home through the basement, according to a press release from the Lincoln County Sheriff’s Office.

Police used a tracking dog, Koda, to search dense woods nearby, where they found Luce. The Maine Warden’s Service also helped with the search.

Luce also faces charges of burglary, felony theft, criminal trespass, and forgery based on an investigation by the Waldoboro Police Department, according to the sheriff’s office.