Transcript for Child Saved After Being Snatched in Walmart

about, that terrifying hostage deal all caught on tape. A toddler snatched right out of a shopping cart while her mother's back was turned then that 2-year-old held at knifepoint. Hostage negotiators were called to the store and abc's rob nelson is here with more on this. Rob, good morning. Reporter: Good morning, robin. A routine trip to walmart quickly turned into a nightmare for one family. A man snatches a 2-year-old girl from a shopping cart. Her mom feet away and holes a knife to her neck. Police tried to talk him down but were ultimately forced to shoot. Some of this video might be difficult, we should warn you. This morning, we are getting a first glimpse of the heart-stopping moment when a little girl is snatched out of her mother's shopping cart taken by a seemingly deranged man who would later hold a knife to the 2-year-old's throat. The incident prompting a deadly confrontation with police. 911, medical emergenciment. There's someone with a knife holding atle girl hostage. Reporter: Authorities just released this surveillance tape from the june 17th incident at an oklahoma walmart. In the video you can see 37-year-old sammie wallace take the little girl hostage. As you see here her mother alicia keating plead. We heard her hollering and carrying on. Please help me, somebody's got my baby. He's got my baby. Reporter: Law enforcement quickly moved in evacuating the store and starting more than 30 minutes of negotiations with wallace. Watch as police offer him a chair as he tightly holes on to the girl. He had a weapon in his hand, a knife-type weapon holding up against the child threatening the child's life. Reporter: Police say he was uncooperative and that the situation quickly deteriorated with the suspect making odd demands starting an ominous 60-second countdown and even holding a knife against the toddler's neck. When a subject starts telling you that in 60 seconds he's going to kill a hostage that's going to move you right up to the point that you will shoot him. That's what occurred in this case. Reporter: With the situation growing increasingly tense one officer distracts wallace as another captain david huff moves in with his gun drawn. Huff tries to protect the little girl and gets close enough to fire a single deadly shot at point-blank range. Obviously our goal was to talk him down and get him to release the child. Unfortunately, we weren't successful but were successful in saving this child and the fact that captain huff's actions were extremely heroic and he waited till the last moment. The little girl is back with her family doing just fine. Police say wallace, though, was in a texas jail from 2000 to 2011 and also as you can imagine had a history of mental health issues.

This transcript has been automatically generated and may not be 100% accurate.