PROVIDENCE, R.I. — Providence police say they have arrested a convicted sex offender for trying to take a photo up a woman’s skirt while she was on an escalator at the Providence Place Mall.

Thirty-seven-year-old Gary Rasey was detained on bail following his arraignment in court Friday.

Police say the attempted “upskirting” incident at the mall happened Tuesday morning. Authorities say Rasey fled when the woman confronted him.

Rasey is a Level 3 sex offender who was convicted in 2003 of sexually assaulting a 50-year-old woman and a 14-year-old girl in Lincoln. Online court records indicate he was sentenced to 40 years of probation and lifetime sex offender registration.

It’s not clear if Rasey has a lawyer who could respond to the upskirting allegations.