An attacker was killed in a Kansas Wal-Mart shooting as two good Samaritans rushed to help when they noticed two men hit a mother on the back of the head in the parking lot as she tried to put her baby into a car seat.

The suspect, Arthur Fred Wyatt III of Overland Park, Kansas, also was charged with attempted aggravated kidnapping and attempted aggravated robbery. Wyatt was on probation after being released in July from a sentence for involuntary manslaughter in 2009 and a subsequent parole violation.

The attacker who was killed is said to be John W. Simmons III of Kansas City, Missouri, Fox 4 said.

The Air Force Veteran who was shot is recovering after surgery, and the woman rescuer has been released from the hospital. The mother and her baby, who wasn’t hurt, are also doing well.

The mother did not know her attackers, and a motive for the attack isn’t clear.

“You know our hearts and prayers go out to both of them for a speedy recovery,” said Major Dan Tennis of the Shawnee Police Department in a statement.

The good Samaritans are credited for saving the life of the mother and baby.

A shopper caught some of the aftermath on video and posted it on Facebook as paramedics assisted the rescuers who were injured. Wendy Russell Macrorie says in the video that she doesn't even like shopping at Wal-Mart, but had come to get things she needed before witnessing the scene.

An attacker was killed in a Kansas Wal-Mart shooting as two good Samaritans rushed to help when they noticed two men hit a mother on the back of the head in the parking lot as she tried to put her baby into a car seat.