(CNN) A mother in Dallas shot a man who attempted to steal her car while her two children were in the back seat, police said.

Officials said the incident took place in the parking lot of a Shell gas station in south Dallas on Wednesday night.

The mother was identified by CNN affiliate KTVT as Michelle Booker.

The suspect was taken to the hospital and is in police custody.

Booker stopped at the gas station's convenience store on her way to a Fourth of July family gathering, KTVT reported . When she came out, she saw a man driving away in her SUV. Booker's two small children were inside the car.

According to police, Booker jumped in the car and told the suspected carjacker to pull over and get out. When he didn't stop the vehicle, Booker pulled a gun from her glove compartment and shot him once in the head.

Read More