A Vineyard Haven man was sentenced to at least three years in state prison Wednesday after pleading guilty to drug charges in Dukes County superior court.

Jeffrey T. Moore, 44, pleaded guilty to possessing to distribute a class A substance (heroin) and possessing to distribute a class B substance before Hon. Gary A. Nickerson, associate justice of the superior court. He was sentenced to three to three and a half years at Massachusetts Correctional Institution at Cedar Junction, a maximum security prison in Walpole. The sentence will start Sept. 4.

Mr. Moore was also ordered to pay a $150 drug fee and a $90 victim/witness assessment fee.

Mr. Moore was arrested in February after a Martha’s Vineyard Drug Task Force investigation. As part of an ongoing heroin distribution investigation, police said, they executed a search warrant at the Walker Way home where Mr. Moore was living.

Police said they found 18.5 grams of heroin, 6.5 grams of Suboxone and 10 Methadone pills.

In the report, police said Mr. Moore purchased the drugs in Providence and sold them on the Vineyard. Police said heroin costs about $70 per gram in Providence compared to $200 per gram on the Vineyard.