A Louisiana police chief who encountered an alligator lurking outside a Walmart store used a shopping cart to herd the reptile away from a busy road.

Angela Papania captured video of her husband, Gulfport Police Chief Leonard Papania, using a Walmart shopping cart to direct the alligator away from a busy road just outside the store.

"The perils of being married to a cop who thinks he can catch an alligator with a shopping cart," Papania wrote.

The video ends with the gator running straight toward Papania's car, causing the chief's wife to quickly close the door.

Leonard Papania said the alligator eventually consented to return to the water.

"We ended up getting him to go to a nearby ditch where he came from," he told WLOX-TV.

Follow us on Facebook, Twitter and Instagram for more UPI news and photos.