A man wearing a mask and armed with a knife held up a North Charleston pharmacy early Friday morning, and a suspect was taken into custody shortly afterward.

North Charleston police were called to the CVS drugstore at Dorchester and Ashley Phosphate roads shortly before 2 a.m., police spokesman Spencer Pryor said. Witnesses told deputies the man went directly to the pharmacy and demanded Oxycontin and morphine. A pharmacist gave him an undisclosed amount of Oxycontin and morphine. He was seen leaving the store and getting into a silver vehicle.

A short time later Dorchester County deputies spotted a vehicle matching the description on Dorchester Road near Highway Hwy 165, Pryor said. The driver failed to stop for blue lights and siren and continued to Old Charleston Highway on John's Island. Then he turned onto a dirt road, stopped, got out and surrendered to the deputies, Pryor said. It turned out to be near his house.

Deputies said they found a pillow case with the Oxycontin and morphine inside, along with a mask and a knife.

Richard Lamar Dean of Old Charleston Highway on Johns Island, who turns 48 Saturday, was charged with armed robbery.

Reach Dave Munday at 937-5553.