Law enforcement officials in New Mexico are praising a man who stepped in to save a mother and her daughter after the woman’s estranged husband rammed her car and began shooting at them.

Albuquerque Police say that 66-year-old Qian Ming intentionally crashed into the woman’s vehicle on Sunday and then opened fire, hitting his daughter in the shoulder, KRQE News 13 reported.

Officer Simon Drobik says that a 34-year-old good Samaritan, who is not being named since he has not been charged with a crime, saw the attack unfold and intervened.

“Once he started walking up, he saw that there was a male violently pistol-whipping a female in the street,” Drobik said. “He got out of his vehicle and had his firearm on him and told that male to stop.”

Upon telling Ming to stop, the good Samaritan told police that he pointed the gun in his direction and that’s when he opened fire on Ming, hitting and killing him.

“Mom in the hospital said, ‘He saved our lives’,” Drobik continued. “You can’t get a stronger statement than that. So she knew it. Daughter knows it and good thing he took that type of action.”

Police did detain the good Samaritan, who is a 12-year veteran of the National Guard, for questioning but later released him and did not charge him.

The daughter was taken to a hospital and is expected to be okay.