Updated

The gunman who opened fire on two police officers southwest of Pittsburgh, killing one and wounding the other, apparently killed himself in the home where he was hiding out Thursday morning, CBS Pittsburgh reported.

The gunman, named by local media as Michael Cwiklinski, was found with a self-inflicted gunshot wound inside the house in the town of Canonsburg. Police also recovered the body of a woman who was six months pregnant and had a Protection From Abuse order against the suspected killer.

POLICE SEE HEIGHTENED THREAT OF AMBUSH

State Police Trooper Melinda Bondarenka told reporters that the officers were immediately met with gunfire when they arrived at the scene at about 3:15 a.m. Bonderanka said the police were “ambushed upon their arrival.”

Neighbors told reporters that police were often called to fights at the home where the shooting unfolded.

CONVICTED FELON WHO KILLED ARIZONA POLICE OFFICER IS SHOT DEAD AFTER STANDOFF

The officer who died was identified as 52-year-old Scott Leslie Bashioum, according to the CBS report. He died at a nearby hospital.

The scene was chaotic, according to witnesses.

“It woke me from bed about 3:30, 4 o’clock this morning,” one neighbor told the station. “I could hear what I thought was firecrackers and then I heard somebody say, ‘My partner’s down,’ or something like that. Then, all hell broke loose. I had my porch light on and he came and told us to turn the light off and stay put.”

Classes at nearby schools were delayed or canceled amid the heavy police presence. Homes in the Canonsburg area were evacuated.

Last week, a New York City police sergeant was shot and killed and a second one was wounded in a gunfight on a street with an armed man who had broken into his estranged wife's home.

The Associated Press contributed to this report.