Embed from Getty Images

An off-duty Customs and Border Protection agent with the Border Patrol Tactical Unit (BORTAC) was involved in killing the suspect in the Uvalde school shooting.

NBC reports the agent entered the school with two local law enforcement officers while the shooting was still active. They approached the shooter as he fired from behind a barricade and were able to “eliminate the threat," killing him.

The BORTAC agent was wounded in leg during the shootout. It has not been revealed if the agent was hit by direct fire from the suspect or a fragment.

The agent is part of CBP’s Del Rio sector, which includes Uvalde.

Many border agents live in the Uvalde area and have ties to the school.