BILLINGS, Mont. (AP) — Bail was set at $1 million for a 41-year-old Wyoming man accused of breaking into buildings and stealing several vehicles during an hour-long police chase in Billings.

Ryan McElmury of Cody, Wyoming was charged Wednesday with 12 felonies, including three counts of robbery for allegedly taking vehicles at gunpoint on Monday night.

He also is charged with three counts of aggravated burglary for allegedly breaking into three buildings and assault with a weapon for driving a vehicle at a police officer.

Yellowstone County prosecutors also charged McElmury with two counts of criminal endangerment — for fleeing from officers and for forcing a vehicle off the road. He also is charged with two counts of theft for stealing vehicles.

He did not enter pleas.

Police Chief Rich St. John said officers twice fired shots at McElmury during the pursuit.

More From Newstalk KGVO 1290 AM & 98.3 FM