NEW YORK - Mayor Bill de Blasio ordered all flags be lowered to half-staff across the city in honor of police officer Dennis Guerra, who succumbed to his injuries Wednesday morning at Montefiore Medical Center.

Police Commissioner Bill Bratton says Guerra, 38, gave his life trying to save others, which is the ultimate selfless act. Guerra rushed to the 13th floor of a Coney Island building fire on Sunday trying to help those inside. 

Commissioner Bratton presided over a special ceremony as flags were lowered at police headquarters. Members of the Guerra family were at the ceremony at One Police Plaza.

Guerra leaves behind a wife and four children ages seven to 20.

A Coney Island teen was arrested for setting the fire that ultimately killed Guerra. Marcell Dockery, 16, told detectives that he did it because he was bored. He is charged with arson, assault and reckless endangerment. There is no word yet on if those charges will be upgraded.