Officials say

five people were shot dead

in a residential neighborhood in a central Texas city.

The incident occurred Thursday morning in

McGregor

, which is located about 20 miles southwest of Waco.

McGregor Mayor

Jimmy Hering

says the

police

who arrived at the scene were

confronted by a gunman

who started shooting at them.

Officers returned fire, but Hering did not say if the suspect was injured. 

AP Photo

Texas, five bodies found in a house in McGregor

However, the Texas Department of Public Safety says a suspect in the shootings

was captured alive

.

Sergeant Ryan Howard says motives, relationships and other details have yet to be determined.

AP Photo

Texas, five bodies found in a house in McGregor