A Maryland woman will spend five years behind bars after she attempted to rob a wig store and got into a physical altercation with the store's owner -- all while pushing a young child inside a stroller.

The attack happened at the Town Beauty Supply Store in Gaithersburg in September 2012. Surveillance video shows 19-year-old Yvonne Williams trying to wrestle a cell phone from the store owner behind the counter. Williams and her two accomplices are then seen trying to steal more than $800 in hair weaves from the store, all while a toddler is sitting in a stroller.

Next, Williams is seen hitting the shop owner in the head with her shoe. At some point in the altercation, the baby slipped out of the stroller.

"She used the baby as a cover to steal things from that store and try to make her escape," Ramon Korionoff with the Montgomery County State's Attorney's Office said. "It's just despicable. And it's even more troubling that a child fell out of that baby carriage during the assault."

Williams was sentenced to five years behind bars Monday. One of her accomplices pleaded guilty to disorderly conduct and the other has not yet been identified.