One NYPD officer was killed and another wounded in a shootout in the Bronx Friday afternoon following a 911 call to report a home invasion. The gunman also was killed.

New York City Mayor Bill DeBlasio identified the dead officer as Sgt. Paul Tuozzolo, a 19-year veteran of the force and father of two young children.

"The city is in mourning, the whole family of the NYPD is in mourning," De Blasio said.

The gunman was identified as Manuel Rosales, 35, who had 17 prior arrests.

According to Police Commissioner James P. O’Neill, a woman called 911 about 2:45 pm to report a man armed with a gun had broken into her apartment. The suspect, who was armed with a .45 caliber handgun, then fled the scene in a red jeep, which was spotted about half a mile away.

As officers approached the vehicle, O’Neill said, the suspect opened fire, which the police returned. The suspect was declared dead at the scene.

In addition to Tuozzolo, Sgt. Emmanuel Kwo, a nine-year veteran, was shot in the leg and currently is in stable condition at Jacobi Hospital.

Rosales was identified as the estranged husband of a woman in the apartment, although she was not the one who made the call.

In a statement late Friday afternoon, Gov. Andrew Cuomo said, "Every day, the brave men and women of law enforcement selflessly serve our communities to keep the rest of us safe. Today, a sergeant in the New York City Police Department has made the ultimate sacrifice in the line of duty, and another officer is undergoing treatment.

"My deepest sympathies are with the families of the officers involved in today's tragedy in the Bronx, and with Commissioner O'Neill and the NYPD as they cope with the loss of one of their own."

FoxNews.com's Edmund DeMarche contributed to this report