BANGOR, Maine — A Rockport man has been charged in federal court with the robbery of a Millinocket pharmacy last month.

Nicholas Skoby, 29, allegedly demanded cash and pills from a pharmacist at Rite Aid on Aug. 29. He also showed the pharmacist the butt of gun stuck in the waistband of his pants, then led police on a high-speed chase, according to documents filed in federal and state court.

Skoby was charged Wednesday in U.S. District Court in Bangor with interference with commerce by robbery, and using, carrying or brandishing a firearm in connection with a crime of violence.

His first appearance in federal court has not been scheduled.

Story continues below advertisement.

He was charged last month in state court with two counts of robbery, eluding an officer, failure to stop for an officer and driving to endanger.

If convicted in federal court, he faces up to 30 years in prison on the robbery charge and a mandatory minimum additional seven years for carrying the gun. Under state law, he faces up to 30 years if convicted on the robbery charge.

He fled with in a car with Timothy Ray Ashlock, 28, of Holden and Christina Irish, 25, of Millincoket, according to police.

Irish was taken into custody shortly after the vehicle the three were riding in was stopped on Mattamiscontis Road by Deputy Patty McLaughlin of the Penobscot County Sheriff’s Department, according to court documents.

The men fled into the nearby woods, setting off an intense manhunt that involved police from several agencies as well as tracking dogs and a helicopter.

Ashlock was charged with stealing drugs and possession of oxycodone and possession of narcotics. Irish was charged with one felony count and one misdemeanor count of unlawful possession of scheduled drugs because some of the prescription drugs taken during the robbery were found in her tote bag.