BEXAR COUNTY, Texas -- After about 24 hours, a standoff on the northwest side of Bexar County ended and the suspect was been taken into custody. He is injured.

Bexar County Sheriff Javier Salazar later said that when deputies entered the residence, the elderly woman that was with the suspect was found dead. Sheriff Salazar says that she appeared to have suffered some kind of trauma but they don't know how or when she died.

Two Bexar County deputies were also injured in a standoff that began Tuesday night.

It all started around 6 p.m. Tuesday in northwest Bexar County on Saddle Trail near Boerne Stage Road.

Sheriff’s deputies from the mental health unit were serving a warrant to the 60-year-old man. They were also doing a welfare check on his mom, an elderly woman in her 80’s who lives with him.

When deputies entered through the front door, they were met with gunfire. Sheriff Javier Salazar said the suspect was using a handgun.

They called for SWAT and negotiators to try to make contact with the man. At one point, he came out and fired several shots in the direction of the deputies. They took cover and no one was hurt.

The standoff continued through the early morning hours Wednesday, when SWAT entered the home once again, hoping to find the elderly woman.

There was an exchange of gunfire again between the man in the home and the SWAT team, this time with a rifle.

Deputies say they found several propane tanks inside the home that appeared to be staged to create an explosive. Deputies believe the man was targeting those tanks in an effort to get them to explode.

One of the deputies suffered injuries to the face from shrapnel and the other suffered wounds to his arm.

One officer was transported to the hospital where he got stitches on his face. The other officer was treated at the scene.

Bexar County Sheriff’s deputies regrouped and called the bomb squad to the scene.