PORTLAND, Maine — A 24-year-old man was arrested Friday in connection with Thursday night’s robbery of the Rite Aid pharmacy on Congress Street.

Daniel Macisaac of Portland is charged with Class A robbery, Portland police Lt. James Sweatt said Friday.

Macisaac is accused of robbing the Rite Aid at 290 Congress St. at about 8:45 p.m. Thursday, Sweatt said. The suspect entered the store and allegedly threatened a clerk while demanding cash. He claimed to have a gun but none was displayed, police said.

The suspect then left the store on foot with an undisclosed amount of cash. No one was injured, Sweatt said.

Macisaac was arrested at 211 Cumberland Ave. at about 2:45 p.m. Friday after an investigation by Portland Police Department detectives. The robbery is still under investigation.