BEAVER, Pa. (KDKA) — A man is in custody after police say he led them on a wild chase during a crime spree through two counties on Friday evening.

Multiple police departments throughout Allegheny and Beaver counties took part in the chase, which lasted several hours.

READ MORE: Pittsburgh's Fireworks Task Force Uses ShotSpotter To Help Crackdown On Illegal Fireworks

It all started in Moon Township when police say they got a tip that the suspect was driving around erratically in a stolen car.

State police identify the suspect as 26-year-old Matthew Ankrom from Pittsburgh. Sources say he was carrying a gun.

Moon Township Police say he was spotted at Globe Parking on University Boulevard. Then, the chasing began around 5 p.m.

Ankrom was driving a stolen Nissan Rogue.

Police say he committed a hit-and-run while fleeing Moon; and then, during multiple chase attempts, police say Ankrom robbed the GetGo at Green Garden Plaza in Hopewell Township. He got away with a cigarette lighter and possibly some cash.

Then, after more chasing, police say he attempted to rob Dollar General in Center Township on Pleasant Drive. They say he pushed a clerk to the ground there and took off.

READ MORE: 2 Injured In Drive-By Shooting In Aliquippa

He was later arrested after police say he crashed his car into some woods near a neighborhood in Raccoon Township.

Police say they lost him at certain points during the chase because they had to be mindful of other drivers on the road.

“We have to operate with regard to safety of other motorists on the road. He apparently did not care about safety of other motorists on road, so it’s possible for sight to be lost due to officers operating carefully,” Cpl. Ryan Wietry, of the Pennsylvania State Police Barracks in Beaver, said.

Join The Conversation On The KDKA Facebook Page
Stay Up To Date, Follow KDKA On Twitter

After arresting Ankrom, police say they learned he committed five other robberies in Beaver County prior to Friday’s incident.

MORE NEWS: Former VA Doctor Who Admitted To Fondling Women Sentenced To Probation

He is now facing multiple charges.