SANFORD, Maine — A local man was arrested Thursday and charged in connection with the trafficking of heroin mixed with fentanyl in York County, according to the Maine State Police.

Brian Vance, 27, of Sanford is facing three counts each of aggravated trafficking in scheduled drugs and aggravated trafficking in heroin while armed with a firearm, all Class A crimes, Stephen McCausland, spokesman for the Maine Department of Public Safety, said Friday in a news release.

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

Vance’s arrest was the result of a three-month investigation by Sanford police and the Maine Drug Enforcement Agency, McCausland said. Agents allegedly made undercover purchases of heroin from Vance.

“Maine is experiencing an increase in the number of heroin/fentanyl related overdoses and deaths,” MDEA Cmdr. Scott Pelletier said Friday in the release. “This arrest illustrates the dangers posed to our communities and law enforcement personnel and the lengths that those who chose to distribute illegal drugs will take by arming themselves with firearms to protect their profits and drugs.”

When arrested at about 4 p.m. Thursday, Vance had about 10 grams of a heroin/fentanyl mix, a loaded handgun and a boot knife with him, the release said.

The estimated street value of the drug is $1,500.

The investigation is ongoing, and others associated with Vance who are distributing heroin have been identified, the release said. Additional arrests are expected.

Watch bangordailynews.com for updates.