Police say an aborted pharmacy robbery in Biddeford still got a suspect arrested on felony charges.

A man handed a note to the clerk at the Rite Aid pharmacy at 335 Alfred St. at 8 p.m. Monday demanding OxyContin. The clerk called to the pharmacist standing nearby, prompting the man to turn and leave, police said.

Police reviewed security video and identified a suspect. Jason Robertson, 25, who lives nearby at 175 Alfred St. turned himself in to police at 2 a.m., police said.

Police charged Robertson with robbery and violating bail conditions and he was taken to York County Jail pending arraignment Wednesday.