(HALTOM CITY, Texas) -- Two people were shot and killed and four others injured, including three police officers, Saturday night in Haltom City, Texas, police said.
Sgt. Rick Alexander of Haltom City police said during a briefing that the three officers did not suffer any life-threatening injuries, as one officer was hit in the right arm, finger and leg, a second male officer was hit in both legs and a third officer was hit in the upper thigh.
At a press conference on Sunday, Alexander identified the three injured cops as Cpl. Zach Tabler, and officers Tim Barton and Jose Avila.
An elderly female had called 911 and police arrived at the residence, where officers returned fire during the incident, Alexander said. The elderly female sustained non-life-threatening injuries. A woman was found dead in the home and a man was found dead outside, Alexander said.
Officers said the elderly female's call was crucial because they entered a situation where the gunman ambushed them.
"If they wouldn't have been prepared, this situation could have turned out a lot worse," Haltom City Police Chief Cody Phillips said. "There could have been several officers deceased over not being able to respond correctly."
Alexander identified the suspected gunman as 28-year-old Edward Freyman. Police said they returned fire, forcing the suspect to flee. He was found dead of a self-inflicted gunshot wound, police said.
Freyman had a military style rifle and a handgun near him, according to the Haltom City Police Department.
The relationship between the victims and the shooter is not yet known, but officers confirmed that the three people -- the two deceased and the suspected shooter -- knew each another.
"The main concern is getting the scene secure, trying to get to our officers, be able to get them out of harm's way while also trying to keep containment on the suspect," Alexander said, WFAA reported.
The Texas Rangers are taking over the investigation.
ABC News' Izzy Alvarez and Teddy Grant contributed to this report.