NEWBURY – A New Hampshire man accused of injecting drugs in a car parked at the state police barracks off Scotland Road Tuesday afternoon will remain in custody for at least several days before arraignment. 

Jason Allen, 42, of 11 Sheridan Ave., Rochester, N.H., was charged with possession of a class A drug, resisting arrest and assault and battery on a police officer.

While Allen would typically be arraigned the following day at Newburyport District Court, a judge’s conference is taking place through Friday. That means he’ll remain in custody at least until Monday when he will be driven to the Newburyport courthouse, according to state police. 

Police said that around 4:35 p.m. Tuesday, Allen’s girlfriend drove into the parking lot and went into the lobby. There she told a trooper that her boyfriend was shooting up with a syringe in front of her son. She also said he was armed with a knife and violent. 

The barrack’s duty officer went out to the car and arrested Allen, but not before subduing him with pepper spray. Allen continued to resist after being brought into the barracks and placed in a jail cell. While handcuffed, Allen grabbed the knife he had on him and wielded it behind his back. 

As two troopers tried to calm down Allen, a state police negotiator was called to the barracks. Roughly an hour later, Allen began thrashing around in the cell, prompting a trooper to Taser him. The electric shock forced the knife out of Allen’s hand which allowed troopers to enter the cell and disarm him. 

Allen was eventually driven to Anna Jaques Hospital in Newburyport around 6 p.m. for treatment and observation. As of Wednesday afternoon, he remained there, according to police. 

Staff writer Dave Rogers can be reached by email at Follow him on Twitter: @drogers41008.