A man upset after Child Protective Services took away his children caused a standoff in McLennan County that ended with him being shot by a member of law enforcement, according to the McLennan County Sheriff's Office.

Robert Smith, 43, who has had previous run-ins with law enforcement went to a property on Gerald Lane, where he grabbed a revolver, according to McLennan County Chief Deputy David Kilcrease.

The situation escalated into a 911 call and a standoff with law enforcement. Smith was ultimately shot in the side by a law enforcement officer. He was immediately transported to the hospital, where he was alive, as of 2:45 p.m.

Family members lived at the property where this happened, but it was not immediately clear if Smith stayed there, too. Kilcrease confirmed there were people hiding from Smith during the ordeal.

As per protocol, the law enforcement member who wounded Smith was placed on paid administrative leave. Kilcrease said the Texas Rangers would conduct an investigation into the shooting, as typically happens in similar situations.

A portion of Gerald Lane was closed to traffic for multiple hours.

Multiple firearms were recovered at the scene, according to a law enforcement official. Kilcrease said the suspect would likely face multiple felony charges.

This is a developing story. Check back for updates.