OAKLAND (CBS SF) — Oakland police officers detained two occupants of a car after a more than two-hour standoff following a solo vehicle accident on a city street, auhorities said.

Oakland police spokeswoman Officer Johnna Watson said the tense situation began after a vehicle crashed into a light pole in the 4000 block of Edwards Avenue, just off of Interstate Highway 580, around 7:07 a.m.

READ MORE: Michelle Go, Killed In New York Subway Attack, To Be Mourned At San Francisco Chinatown Vigil

According to OPD Tweet, Oakland officers were joined by California Highway Patrol and medical responders at the scene. A CHP officer noticed a firearm inside the vehicle, so the responders backed off.

READ MORE: Suspect In November Smash-and-Grab Robbery At High-End Sneaker Store In Santa Clara Arrested

“Firearm observed, occupants are not responding to commands or directions,” the Tweet said. “Police see movement in the car.”

Finally, at around 9:49 a.m. the two exited the car and were detained. They refused medical treatment at the scene.

MORE NEWS: Santa Clara County Receives $22M Project Homekey Grant To Convert Hotel Into Supportive Housing

Authorities did not say if the occupants were suspected of being involved in a crime before the crash.