This story has been updated since it was first published Wednesday morning.

RICHMOND, Va. — An Army National Guard officer accused of stealing an armored personnel carrier from a Virginia base and leading police on a more than 60-mile (100-kilometer) chase was driving under the influence of drugs, police said Wednesday.

Joshua Philip Yabut, 29, of Richmond, was charged with eluding police and unauthorized use of a vehicle, the Virginia National Guard said in a news release.

The vehicle, which drives on tracks like a tank, was stolen Tuesday evening from Fort Pickett in Blackstone. Police chased it for about two hours at speeds as high as 40 mph (65 kph) before the driver stopped and surrendered near Richmond City Hall, Virginia State Police said.

The Guard said the personnel carrier was driven away during routine training at Fort Pickett and has been returned to the base. The vehicle wasn’t equipped with any weapons, but Yabut had his personal weapon with him without any ammunition, the Guard said.

Police said an investigation is ongoing and declined to comment on a motive for stealing the vehicle, but said Yabut was under the influence of drugs when he was arrested.

In a Wednesday evening phone call from Virginia’s Central State Hospital, Yabut told The Associated Press he was authorized to take the vehicle on a pre-planned route as part of a training exercise to gauge the police response. Yabut said his brigade commander, who he declined to name, told him to take the vehicle. The psychiatric hospital is in Petersburg, Virginia, and its patients include people receiving court-ordered mental health evaluations and treatment.