Police arrested a Rhode Island man last week after he confessed to masturbating in his car while driving down I-95 in Walpole.

Police charged Michael Nickerson, 44 of 757 Grove Street in Woonsocket, RI, with open and gross lewdness after he was seen masturbating while driving his car, Deputy Police Chief John Carmichael said. Walpole police contacted Nickerson, asking him to come in for an interview on Thursday at which he confessed, Carmichael said, prompting his arrest.

After a woman driving on I-95 allegedly caught Nickerson in the act, she took pictures of his vehicle and license plate, sending them to Walpole police through their Facebook account. The police opened an investigation, calling Nickerson into the station, Carmichael said.

Nickerson reportedly confessed to the charges and was arrested at the station around 5 p.m. on Thursday. He was released the same day on bail.