Three people were hurt after scaffolding blew off the top of a 12-story building in the Brooklyn borough of New York City and crashed onto the courtyard of a bar, according to fire officials.

It all unfolded on Fourth Avenue and Carroll Street in Park Slope at about 3 p.m. Sunday.

“We heard a huge crash up in the building, so we all ran down and thought it had landed on our truck — it was a huge metal sound,” said Rachel Crittenden, an eyewitness, as the Brooklyn Eagle reported.

Fire officials said three people were hurt after scaffolding blew off the top of a 12-story building in Brooklyn. (New York City Fire Department)

“We all ran that way, and then we saw the stuff hanging from the building and we went to the front. One girl got hit, and the other two got hit by ricocheted pieces.”

Fire officials said the debris crashed down onto the courtyard and atrium of a two-story bar Mission Dolores, injuring three patrons.

CLICK HERE TO GET THE FOX NEWS APP

Officials said one person suffered serious injuries and two others were treated for non-life threatening injuries.

The Associated Press contributed to this report.