BANGOR — A Maine man and a Canadian woman have pleaded guilty to robbing a pharmacy in Newport twice.

Federal prosecutors say 26-year-old Jonah Masse of Dixmont pleaded guilty on Tuesday to robbing the Rite Aid pharmacy last year on Aug. 16 and Sept. 16. Twenty-one-year-old Sydney Duff pleaded guilty to aiding and abetting the two robberies.

Court records say Masse robbed the pharmacy of more than $500 in drugs each time by handing the pharmacist a note saying he had a gun and wanted oxycodone and hydromorphone pills. Duff was accused of writing the notes and driving with him to the pharmacy. No gun was used.

They both face up to 20 years in prison and a fine of up to $250,000 for each robbery.