An NYPD sergeant was killed after taking a bullet to the head in a gun battle in the Bronx that left a second cop wounded and a heavily-armed robbery suspect dead, sources said.

The unidentified officers were struck about 3 p.m. while pursuing the gunman following a home invasion robbery in Parkchester, sources said.

The mortally-wounded sergeant was pronounced dead after being rushed to Jacobi Medical Center.

The second sergeant is expected to survive.

The gunman, identified as Manuel Rosales, was killed in the exchange. He was carrying multiple guns, sources said.

One source said the officers were “ambushed.”

This is a developing story. Please check back for updates.