SAN FRANCISCO (KPIX 5) — A mother taking her baby for a stroll in San Francisco’s South of Martet is thanking her lucky stars Friday after nearly getting run over by an out of control SUV.

Police said the SUV had collided with another vehicle moments before at 3rd and Harrison streets at about 9:45 Friday morning. The impact of the collision sent the SUV into the handrail of a building entrance, missing the baby stroller by inches.

READ MORE: Guilty Pleas In Huge Bay Area Retail Theft Ring; Ringleader Gets 6-Year Prison Term

The unidentified woman pushing the stroller is seen on the building’s security camera video backing the stroller up from the path of the hurtling SUV just in the nick of time.

READ MORE: COVID: Google Delays Return-To-Office Past Early January Amid Omicron Variant Concerns

San Francisco Police spokesman Officer Albie Esparza said both adult male drivers were taken to the hospital complaining of pain. The crash was under investigation, he said.

MORE NEWS: Charlotte Mailliard Shultz, Widow Of George Shultz, Dies At 88 ; 'We Have Lost Our Grande Dame'