BANGOR, Maine — Two men arrested in connection with a robbery attempt at a Rite Aid pharmacy in Dexter last week made their initial court appearance at the Penobscot Judicial Center on Monday.

Tylor Huff, 22, of Corinna and Michael Hames, 21, of Palmyra each face a felony count of Class B robbery. Huff was arrested Nov. 27, while Hames was arrested Thanksgiving morning, Nov. 28, according to Dexter police Detective Lt. Alan Grinnell.

The duo were not asked to make a plea because they had not yet been indicted on the felony charge. They remain in Penobscot County Jail in Bangor on $10,000 cash bail. Huff and Hames are ordered not to use or possess intoxicants, not to return to Rite Aid in Dexter and not have contact with each other, according to the Penobscot County district attorney’s office.

On the evening of Nov. 25, a male walked up to the pharmacy counter at Rite Aid in Dexter and handed a note to the pharmacist, indicating that he had a gun and wanted narcotics, Dexter police Officer Allen Emerson said on the night of the crime.

The pharmacist, however, was able to scare off the suspect.

“The pharmacist took the note, read it and loudly said something to the effect, ‘You mean to tell me you’re robbing us?’” said Emerson. “He said it loud enough so people around him would hear. [The suspect] got nervous, spun right around and ran off.”

The suspect did not get any narcotics and did not display a gun, said Emerson. He left on foot through the parking lot.

Police did not indicate which suspect entered the store.

A dispositional conference is scheduled for both men on Feb. 4.

Huff and Hames face up to 10 years in prison and a maximum fine of $20,000 if convicted of the Class B crime.