LAWRENCE, Mass. — Police have arrested a man they say drove from Maine to Massachusetts to buy heroin with his 2-year-old twins in his car.

The Eagle-Tribune reports that Jeremiah Hollenbeck, of Lebanon, Maine, was held on bail after pleading not guilty Wednesday to charges including possession of heroin and child endangerment.

Authorities say the 30-year-old Hollenbeck drove to Lawrence on Tuesday. A witness reported what appeared to be a drug transaction to police. Officers saw Hollenbeck meet briefly with a woman before returning to his car.

Police say they stopped Hollenbeck’s car and found 10 grams of heroin he had purchased from the woman.

His twins were strapped into their car seats in the back. Two other adults were also arrested.

Police notified child welfare officials in Massachusetts and Maine.