A New York City firefighter died battling a fire overnight in Brooklyn, officials said Sunday. 

FDNY officials said Patrick Brady suffered a medical episode on the roof of a burning building in East Flatbush. 

The fire department called for an “all hands on deck” response to 9407 Kings Highway after residents said a fire started on the sixth floor and woke them up in the middle of the night.

Brady, 42, went into cardiac arrest on the rooftop, officials said. He was rushed to Brookdale Hospital, where he was pronounced dead. 

Deputy Mayor for Public Safety Kaz Daughtry spoke through tears about the sacrifice the 11-year department veteran made. 

“Some might call it routine response, but his loss is a stark reminder that there is no such thing as a routine call in this line of work. Every response carries a risk and every member of the FDNY answers that call of courage,” Daughtry said. 

Brady transferred to Ladder 120 in Brownsville in 2022. He is survived by his wife as well as cousins, brothers and uncles, who are also FDNY firefighters. 

“Firefighter Patrick Brady gave his life protecting the city we all love; there is no sacrifice that is more selfless than the actions that took place this evening,” a statement by Mayor Eric Adams said. “[He] came from a family of firefighters — all dedicated to protecting the lives of their fellow New Yorkers. I would like to express my deepest sympathy to his wife, Kara, and his entire family during this difficult time.”

“The entire FDNY is heartbroken over the loss of Firefighter Patrick Brady,” Fire Commissioner Robert Tucker said. “[He] was a dedicated public servant, and firefighting was in his blood. We are thinking of his family, friends, and fellow members as we join them in mourning this immense loss.” 

A second firefighter and two civilians suffered minor injuries in the fire, officials said.