QUEENS, N.Y. - Two police officers were hospitalized Tuesday after being shot in Queens. 

The NYPD said the shooting occurred while police were responding to a domestic violence report.

At a press conference Tuesday afternoon, Police Commissioner Dermot Shea said a 41-year-old woman reported a domestic violence incident to police at the 105th Precinct.

Two uniformed domestic violence officers escorted the woman back to her house on 179th Street in Springfield Gardens.

They were there for just a few minutes when her husband came home - armed - and a gunfight broke out.

It's unclear how many shots were fired, but the two officers were struck, as well as the gunman, who was declared dead on the scene. 

The officers who were struck were identified as 36-year-old Christopher Wells and 33-year-old Joseph Murphy. Wells, a member of the NYPD since 2007, and Murphy, who joined the force in 2015, were both assigned to the 105th Precinct, which covers where the shooting took place.

Both officers have undergone surgeries to treat their injuries.

"After immediately opening fire and shots exchanged, both officers are struck and injured," Shea said. "One in the right upper thigh - he has a fractured femur, he's undergoing surgery. The other officer was shot at least one time - and we believe at this point, in both hands."

Shea said both officers were "awake and in stable condition at Jamaica Medical Center."

The gunman, who has been identified as Rondell Goppy, was a peace officer at the CUNY City College Campus in Harlem. His wife was not injured.

Two guns were recovered at the scene - and a third at another location, all registered to Goppy. At one point, police say there was a court order to remove Gobbey’s guns from the home, but it isn't clear when, or why, they were returned.

Police say there was a history of domestic violence calls to Goppy's address. 

Information from the Associated Press was used in this report.