An Oklahoma man used a revolver to stop a neighbor from killing his three-month-old twin children last Friday.

Leland Foster was allegedly trying to drown his twin babies, one boy and one girl, in the bathtub of his Ada, Oklahoma home after threatening their mother with a knife. Then his neighbor intervened, according to KOFR-TV.

A 12-year-old girl who was living in the house ran to seek help from her neighbor, Cash Freeman, who saved the babies’ lives by shooting Foster twice in the back with a revolver, which killed him.

Foster has a violent criminal record. In 2011, he pled guilty to domestic abuse by strangulation and arson in the first degree.

Freeman told reporters he’s worried he might get into trouble for saving the babies’ lives. According to KOFR, Ada police said the incident would go before the district attorney, who will decide if the homicide was justified. Police said they questioned Freeman just after the incident and released him.

The babies were flown to a nearby hospital and have since been released.