A teenager who is accused of stealing a beverage delivery truck from Portland and crashing it into a barn after a high-speed police chase is to be arraigned Wednesday on several charges.

Nicole Dyment, 19, of the Oxford County town of Canton was taken to Southern Maine Health Care in Biddeford for treatment of injuries after she crashed a truck emblazoned with the logo for Angry Orchard hard cider into a barn on Parsonsfield Road in Limerick on Tuesday, said York County Sheriff William King.

Dyment was released from the hospital and taken to the York County Jail later Tuesday. She told authorities she was drunk and high on heroin when she stole the truck, King said.

The truck was stolen from in front of the 7-Eleven at 704 Congress St. in Portland at 11 a.m.

At 11:38 a.m., a witness reported the truck weaving from side to side and going onto the shoulder as it passed Waterboro Elementary School on Route 5 in Waterboro.

Deputy Shawn Sanborn saw the truck near the Lakeside Market and saw it pass several cars in a no-passing zone, King said.

Sanborn chased the vehicle for about 13 miles at speeds reaching 65 mph before the driver of the truck lost control and crashed into the barn, spilling many cases of alcohol, King said.

The building was in danger of collapsing after the crash, he said.

Once she was released from the hospital, deputies charged Dyment with drunken driving, driving to endanger, failure to stop for a police officer and driving without a license. Dyment had a learner’s permit that expired in 2013.

She has had no crashes, driving infractions or criminal convictions, according to state databases.

Dyment also was charged with violating bail conditions from a previous charge, though that charge was not available, King said. Charges related to the stolen truck will be brought by police and prosecutors in Cumberland County, King said.

Route 160 was closed in the afternoon as authorities removed the truck from the barn, he said. Dyment is being held on $50,000 bail.