DOVER, N.H. — A Maine man is accused of possessing 22 pounds of marijuana in New Hampshire.

Thirty-year-old James Barnes of Wells, Maine, was arrested Tuesday in Dover after police said they conducted a controlled delivery of the drug to him.

The delivery was conducted by the New Hampshire State Police Narcotics and Investigations Unit in conjunction with the Dover Police Department.

Barnes was charged with one felony count of possession with intent to distribute the drug. He is being held on $25,000 cash bail following his arraignment Wednesday morning.

The sting was a result of the state police narcotics unit learning about an incoming delivery from California, according to Foster’s Daily Democrat. The intercepted the shipment and delivered it to Barnes themselves, and when Barnes collected it and drove off, they arrested him, the newspaper said.