WALDOBORO — Police have charged three people with drug trafficking after a three-month investigation into an oxycodone trafficking ring.

Police Saturday arrested James Chamberlain, 39, of Waldoboro and Louis Atkinson, 24, of Greene and a 17-year-old Waldoboro boy while they were parked along Route 1 in Waldoboro, police said.

Police seized a loaded 9 mm handgun, 342 oxycodone pills and $1,500. Police say the 30 mg prescription painkillers sell for almost $50 each on the street, making the value of the seized drugs more than $15,000.

Atkinson and Chamberlain are charged with aggravated drug trafficking and are being held at the Two Bridges Regional Jail in Wiscasset, police said. The youth was ordered to appear in court on a charge of drug trafficking.

Police believe Atkinson, who recently moved to Maine from New York City, had been bringing oxycodone pills from New York for sale in Maine’s midcoast.