SAN MARCOS, Texas (KXAN) — Support from lawmakers and law enforcement agencies across Texas poured out Saturday night for a San Marcos police officer who was killed and two others who were injured in a shooting ambush.

The domestic incident started at about 6 p.m. at the Twin Lake Villas Apartments in San Marcos, and residents nearby were told to shelter in place.

In a Sunday press conference Interim Police Chief Bob Klett identified Justin Putnam as the officer who was killed at the scene. Putnam was 31 and had been with the SMPD for five and a half years.

Two other officers, Justin Mueller and Franco Stewart were injured and taken to Ascension Seton Hays in Kyle, where they underwent surgery.

As news of Putnam’s death and Mueller and Stewart’s injuries came from the department, law enforcement agencies and lawmakers from across Central Texas shared their support.

“We are heartbroken to confirm that one officer was killed and two wounded in the line of duty while responding to an assault/domestic disturbance tonight,” wrote the City of San Marcos in a tweet.

“Heartbroken over the murder of a San Marcos Police Officer earlier this evening,” wrote Austin Police Chief Brian Manley on Twitter.

“Our hearts are heavy as we pray for our brothers and sisters at the San Marcos Police Department as well as their families,” tweeted the Travis County Sheriff’s office.

“Tonight’s shooting in San Marcos is a somber reminder of the service and sacrifice our brave men and women in law enforcement make every day to keep us safe. I am grateful for the swift action of the San Marcos Police Department in containing the threat and minimizing the loss of life. I ask all Texans to join Cecilia and me in praying for the officer killed and for those injured, and for the continued safety of all law enforcement officers who protect our communities.”

Gov. Greg Abbott

See more statements below:

We are devastated by news of the shootings in San Marcos. Our thoughts and prayers are with the officers, their families, and the Hays County law enforcement community. As this investigation continues, this office will assist in any way needed.

Texas Attorney General, Ken Paxton Twitter