ALFRED — A woman who robbed an Old Orchard Beach pharmacy barefoot and another pharmacy wearing the same dirty white sweatshirt, was sentenced in York County Superior Court to almost six years in prison Thursday.

Jennifer Nicholas, 31, of Dayton was arrested in October. She pled guilty Thursday to robbing the Hannaford pharmacy in Waterboro of 149 oxycodone pills and the Rite Aid in Old Orchard on Sept. 30 of 188 oxycondone pills.

Police were able to catch her after a witness spotted a woman matching the robber’s description getting in a car. An officer spotted the car later and police tracked it to Nicholas’ home in Dayton.

She was sentenced to five years, 11 months in prison. Nicholas was prosecuted by Deputy District Attorney Justina McGettigan and was sentenced by Justice William F. Brodrick.