Scarborough police have charged three people with aggravated drug trafficking following an investigation that resulted in the seizure of heroin and crack cocaine.

Local police, assisted by agents of the federal Drug Enforcement Administration, arrested two Massachusetts residents and a Scarborough man at about 7 p.m. Tuesday, said Officer Josh Guay.

Following a lengthy investigation, police charged Shawn Myers, 25, of Wareham, Massachusetts, Latasha Scott, 23, of Roxbury, Massachusetts, and Andrew MacDonald, 33, of Scarborough, with two counts of aggravated trafficking in drugs, Guay said.

Police seized 54 grams of heroin and 46 grams of crack cocaine along with $8,000 in cash, scales and packaging material, Guay said.

Grams of heroin and cocaine sell for about $50 wholesale, $100 retail, so Tuesday’s seizure is worth about $10,000 if sold on the street.

Guay said other details of the investigation, such as the location of the arrest, are not being released immediately because of the ongoing investigation.

The investigation was part of an operation by the High Intensity Drug Trafficking Area task force, which focuses on the Interstate 95 corridor.