FREMONT (CBS SF) — An early morning pursuit of two suspected armed home invasion robbers ended Monday when their stolen vehicle careened into an unoccupied Fremont building, authorities said.

Fremont police said officers responded to an armed home invasion robbery in progress in the 44000 block of Ibero Way at approximately 4:53 a.m. Investigators said a victim told arriving officer that the suspects had forced their way into their home and at least one suspect was armed with a handgun.

The victim was robbed and the suspects stole their vehicle. Responding officers located the stolen vehicle traveling northbound on Mission Blvd., attempted a traffic stop and a pursuit ensued. It ended when the suspects lost control of their vehicle and careened into an unoccupied building near Mission Blvd. and Mayhews Rd.

One suspect was caught after a short foot pursuit while the second suspect was believed to be trapped in the vehicle.

The vehicle and building sustained significant damage which required police and fire personnel to coordinate a plan to check the vehicle for the outstanding suspect, but he was not located.

Shortly after, a community member called dispatch about a suspicious male that was waiting at a nearby bus stop. Units responded and he was detained.

Investigators said 19-year-old Keshavsharan Virk of San Jose, and a 17-year-old juvenile were taken into custody on a variety of charges including armed home invasion robbery, burglary, possession of a firearm, felony evading and possession of a stolen vehicle. A loaded handgun was recovered in the stolen vehicle.

Detectives learned that the suspects also committed a separate residential burglary and were casing the neighborhood prior to the home invasion.

A separate stolen vehicle was also found in the neighborhood. Detectives believe the suspects arrived in the neighborhood in the stolen vehicle before committing the burglary and home invasion robbery.

Detectives are also working with the San Jose Police Department regarding potential related home invasion robberies and burglaries in their jurisdiction.

Anyone with information regarding this investigation is encouraged to contact Detective Ryan Lobue at 510-790-6900 or rlobue@fremont.gov.