A gunman killed two people and wounded four others, including three police officers, before taking his own life in a home in the Dallas-Fort Worth area, police said on Sunday.

Haltom City Police detective Matt Spillane said none of those wounded in the shooting Saturday evening in a residential neighbourhood have life-threatening injuries.

Spillane said the officers returned fire after being shot at while responding to a report of gunshots at the home around 6:45pm.

One officer was hit in both legs, and the other two were shot in the arm. The suspect died of an apparent self-inflicted gunshot wound.

He said the Texas Rangers, the state’s elite police force, would take over the investigation.

A motive for the shooting was not immediately clear. Authorities have not released the names of any of the people involved in the attack.

“The main focus is on how and why this happened,” Spillane told the Associated Press.

A woman was found dead inside a house and a man was found dead outside, Sergeant Rick Alexander said, speaking at a news conference late on Saturday.

A woman who called 911 was also wounded, he said.

The suspect was found with a “military-style rifle” and a handgun, Alexander said.

The incident is one of several in recent days in which law enforcement officers were fired upon while responding to calls.

Three officers were shot dead in eastern Kentucky while trying to serve a warrant.

Police took a 49-year-old man into custody late on Thursday night after an hours-long standoff at a home in Allen, a small town in the hills of Appalachia.

He remains jailed on a 10 million US dollar bond (£8.25 million) charged with two counts of murder of a police officer.

In Chicago, a police officer was hospitalised in serious condition after being shot repeatedly in a Friday morning ambush while answering a domestic disturbance report, police Superintendent David Brown said.

A suspect was hospitalised awaiting a psychiatric evaluation and is being held on a two million US dollar bond (£1.65 million).