CRANSTON, R.I. (WPRI) — A Woonsocket man appeared in court Friday morning after he reportedly approached a security guard and broke into a Cranston home while naked earlier this week.

Paul Sawyer, 35, is charged with one count of breaking and entering and two counts each of indecent exposure and disorderly conduct.

A judge ordered Sawyer to undergo mental health and substance abuse evaluations.

He was released on $5,000 surety bail and is due back in court March 23.

Police said Sawyer pulled into a parking lot off of Plainfield Pike early Wednesday morning and idled in his red minivan for about 20 minutes before getting out naked and approaching a female security guard.

The guard immediately drove off, but Sawyer briefly chased after her out of the parking lot, police said. The woman called police, but the responding officers were unable to track him down.

Later in the night, police said Sawyer broke into a home on Gray Coach Lane but was chased out by the homeowner.

Officers were able to identify Sawyer after receiving a tip Wednesday night and immediately went to his Woonsocket home to apprehend him, but he wasn’t there.

Sawyer was then arrested on Thursday and confessed to officers he was the suspect in both incidents.

Police said Sawyer has two previous arrests in 2015 for indecent exposure in Smithfield.