A Kansas police officer went above the call of duty and used his own money to help out a homeless mother who was caught shoplifting.

Sarah Robinson, who has six daughters, ran out of diapers for her two-year-old twins. In desperation, she tried stealing diapers, baby wipes, children's clothes and shoes from a Roeland Park Walmart, but was caught.

When Officer Mark Engravalle of the Roeland Park Police Department was called to the store to investigate the shoplifting report, he found a tearful Robinson and her six children in the parking lot.

After releasing Robinson with a citation for misdemeanor theft, Engravalle went back inside the store with the kids and bought them diapers, baby wipes and clothes. He even let the girls pick out their own shoes.

"Criminally, people might view that as wrong, but I think morally, her heart is in the right place, the will to survive and take care of your children," Engravalle said.

"It was really nice for him to do," Robinson said. "He didn't have to do that. He could have taken me to jail."

The community is now coming together to help Robinson and her children get back on their feet.

Watch more above.

Instead of Arresting Him, Cop Buys Baby Formula for Shoplifting Dad

Police Officers Play Football With Neighborhood Kids

Woman Pays for Young Mom's Diapers & the Video Goes Viral