Drug agents arrested a 65-year-old Biddeford man on charges of trafficking heroin within 1,000 feet of a school.

The Maine Drug Enforcement Agency along with Biddeford police and the Southern Maine Violent Crime Task Force arrested Wayman Justice on Thursday following a lengthy investigation into the sale of heroin from Justice’s apartment at 170 Elm St.

A search of the apartment turned up digital scales, packaging materials and ledgers recording drug activity, police said.

Justice is being held at York County Jail in Alfred on $50,000 bail.

Justice is the second person arrested this week on charges of selling heroin within 1,000 feet of St. James School. Edward Matthewson was arrested Wednesday, however the two investigations were not related and the two were not working together, police said.

The alleged heroin sales were not targeted to students, police said.