CANARSIE, Brooklyn (PIX11) — A firefighter died and five others were injured battling a three-alarm fire that broke out in a building in Brooklyn Sunday afternoon, according to Mayor Eric Adams.

The injured firefighters were not expected to die, Adams said. One person was unaccounted for in the aftermath of the blaze.

Timothy Klein, 31, had been with the FDNY for more than six years before his death Sunday, officials said. His was the second line-of-duty death at that firehouse in recent years.

The firefighter was inside the burning home when everyone inside was ordered out, an FDNY official said. Before all the firefighters could make it out, there was a partial roof collapse. Four members were caught, including Klein. His loss will always be remembered, Andrew Ansbro, president of the union representing firefighters, said.

“The tragic loss of firefighter Klein brings sorrow to the City of New York, its eight million residents, and every member of the FDNY family,” Ansbro said. “Firefighter Klein is a hero to this city, this country, and his fellow firefighters, and will be eternally remembered for making the ultimate sacrifice so that others may live.  There are no words that aptly describe the loss of a fellow firefighter in your company and this department, and the Klein family is now living the worst nightmare of every person who has ever sworn the sacred oath to the FDNY.”

First responders rushed to the Avenue N scene near 108th Street after reports of the blaze shortly before 2 p.m.. Neighbors said it seemed like the firefighters couldn’t get the hydrants to work. One saw a firefighter come out on a stretcher.

The side of the home was falling off and the inside of the home was gutted. Images from the scene showed smoke billowing into the sky over Brooklyn. Officials have not yet said what caused Sunday’s fire.

Mayor Adams visited the scene of the fire and got a preliminary briefing on site from the FDNY, a spokesperson said. He headed to the hospital for a full briefing on the blaze.

The last FDNY firefighter to die in the line of duty lost his life in February of this year. Jesse Gerhard died fighting a fire in Queens.