By SUSAN DOUCET

Former Boston mayor Ray Flynn passed out behind the wheel of his car Thursday and struck a building.

“After working out at the Boston Athletic Club for a couple of hours this morning, I drove home and while parking my car on my street, I got weak and completely passed out. Minutes later I woke up, but my car unfortunately had crashed into another house on my street,” Flynn wrote in a statement. “Thank God nobody got hurt.”

Flynn was taken to an area hospital following the accident on Flint Place in South Boston, which was reported at 12:46 p.m. Thursday, according to Boston Police Lt. Michael McCarthy.

According to city records, Flynn owns a home on Flint Place in South Boston.

“I received a concussion with many more tests to follow,” Flynn wrote.

An initial statement from Mayor Martin J. Walsh’s Office on Thursday announced that Flynn had been in an accident but was not seriously injured: “Former Boston Mayor Ray Flynn was in a car accident earlier today while driving near his home in South Boston that EMS responded to. Thankfully, Mayor Flynn was not injured, however he has been transported to a local hospital as a precaution.”

Boston Police Captain John Greland posted photos online Thursday of a motor vehicle accident “near Marine Road.” Flint Place is a small, dead end street off of Marine Road. The images shared by Greland show a large hole in a brick foundation of a building and a vehicle with a broken windshield and covered in debris, which appears to be from the same building.

Inspectional services were at the scene Thursday afternoon to check the integrity of the building, McCarthy said.

Flynn, 76, was mayor from 1984 to 1993. He resigned in 1993 to serve as U.S. Ambassador to the Vatican, a position that President Bill Clinton appointed him to car locksmiths near me.

“EMT’s, Firefighters, and Police were terrific and our South Boston neighbors were just great. Thanks to Mayor Walsh, my family and so many Boston citizens for their sincere and kind expressions of concern,” Flynn wrote Thursday night.