Two men have been arrested and charged with heroin trafficking in Southwest Harbor, a fishing and resort community on Mount Desert Island.

Leon Jacobs, 43, of Southwest Harbor and Jesse Couto, 29, of Trenton were each charged with Class B felony trafficking in heroin, according to a press release issued Monday by Cmdr. Peter Arno of the Maine Drug Enforcement Agency.

Arno said the men were charged following an investigation by the MDEA, the Southwest Harbor Police Department, the Hancock County Sheriff’s Office and Maine State Police into the sale of heroin on Mount Desert Island.

Jacobs and Couto were taken into custody late Friday night after a Southwest Harbor police officer stopped their car. A state police dog performed a drug sniff of the car and police found 40 grams of heroin with a street value of $12,000.

Jacobs and Couto were transported to the Hancock County Jail. Couto made bail, but Jacobs was still being held Monday night on $25,000 cash bail.