(PHOENIX) — Five Phoenix police officers were shot and injured, and a woman was shot and killed during an early morning barricade situation, the department said.

All of the police officers’ injuries were non-life-threatening, police said.

The incident began when officers were called to a home where a woman was reported shot, Phoenix police said.

When an officer approached to help, the suspect, an adult man, invited the officer inside, said Phoenix police spokesman Andy Williams.

As the officer approached the door, “the suspect ambushed him with a gun and shot him several times,” Williams said. “That officer was able to get back and get away to safety.”

“Other backup officers arrived on scene and they surrounded the home and began calling out the occupants,” Williams said.

Then another man — not the suspect — came out of the house holding a baby girl, police said. The man put the baby on the ground and walked to police where he was detained.

When officers went to bring the baby to safety, the suspect again opened fire from inside the house, shooting four more officers,

Four other officers were indirectly injured when they were struck by shrapnel, police said.

The suspect then barricaded himself in the home, police said.

Extremely active scene near 51st and W Elwood in Phoenix. We heard several gunshots and saw a chopper over head with its spotlight on when we arrived. @PhoenixPolice on scene and asking public to avoid area. Our photographer saw at least one officer shot @abc15 pic.twitter.com/uV10rLNig5

— Amelia Fabiano ABC15 (@AmeliaFabianoTV) February 11, 2022

Once the scene was secured, police said they found the suspect dead inside.

The woman who was the first reported to be shot was found in extremely critical condition inside the home, police said. Hours later, police said she died from her injuries. The woman appeared to be the suspect’s former girlfriend, police said.

The baby appeared to be OK, police added.

Arizona Gov. Doug Ducey tweeted, “Please continue to pray for the five @PhoenixPolice officers injured this morning. Our men and women in blue work day and night—no matter the circumstances—to protect our state from danger.”

He added, “My office is working closely with the Phoenix Police Department to get updates on the situation and the officers’ conditions.”

Other police departments are also speaking out.

Chicago Police Superintendent David Brown tweeted that his department “stands with our brothers and sisters of the Phoenix Police.”

ABC News’ Nicholas Kerr and Alyssa Pone contributed to this report.

Copyright © 2022, ABC Audio. All rights reserved.