A Texas man turned himself into law enforcement Thursday night after police found three young children dead and a woman with a gunshot wound to her head in an apartment.

Police said the children were believed to be ages 5 and 2 and an infant. Texas City police officers found their bodies on a welfare check at an apartment in the city about 50 miles southeast of Houston.

The woman was in stable condition and receiving treatment at a Galveston hospital, according to a police press release. Her relationship to the children was not immediately clear.

Texas City police Lt. Kenneth Brown told the Houston Chronicle that the woman is unable to speak to investigators because of her severe injuries. A motive is under investigation.

“It’s a very intense scene over there,” he told the Chronicle. “Everybody involved is either deceased or injured.”

Houston police officer Ben Starr said the suspect called authorities late Thursday saying he wanted to surrender. Authorities took him into custody peacefully in Houston but did not identify.

Police in Texas City earlier Thursday identified the suspect as Juniad Hashim Mehmood, 27.

Related:Orlando man who killed four kids previously menaced girlfriend with knife, set home ablaze

Related:Opioids kill kids, too – through accidental overdose, suicide and homicide

Contributing: The Associated Press