BROCKTON (CBS)- Firefighters rescued an elderly man from the third floor of a burning apartment building in Brockton Tuesday afternoon.

Someone walking by noticed flames coming from the building on Oak Street and called firefighters.

READ MORE: Massachusetts Reports 5,170 New COVID-19 Cases, 31 Additional Deaths

The 82-year-old man was taken down a ladder from the third floor porch. He is badly burned but still alive.

Firefighters rescue elderly man from apartment building (Image credit Heather Elizabeth)

READ MORE: 3 Charged After Stolen Car Filled With Stolen Packages Crashes In Holbrook

“This was a dramatic rescue under severe fire conditions,” said Brockton Fire Dep. Chief Charles Davis. “The fire was blowing out of that apartment and they made entry and pulled him out.”

Davis has a son on the fire department who carried the elderly man to safety and is one of several firefighters with minor injuries.

Five firefighters were injured during the rescue and one is being treated at a hospital.

MORE NEWS: Antonio Brown Suspended 3 Games By NFL For Misrepresenting Vaccination Status

The cause of the fire is under investigation.