A BMW on Saturday veered off a San Francisco freeway, flipped over and crashed onto a street below, but the driver escaped from the mangled vehicle with only minor injuries, fire officials say.

The collision was reported to the San Francisco Fire Department around 4 a.m. when the vehicle flew off eastbound Interstate 80 and landed on its roof on Vermont Street, which is located close to Fire Station 29, according to officials.

Fire officials said the driver sustained non-life threatening injuries and rescued themself.

Additional details about the circumstances leading up to the crash or specifics about the driver's condition were not immediately available.