CNN —  

A Bakersfield, California, family is thanking their beloved cat for lending their young son one of her nine lives yesterday.

Surveillance video appears to show a dog sneaking up on the boy as he is riding a bicycle in the driveway.

Just as the dog pounces and grabs the boy’s leg, Tara the family cat appears to dart out of nowhere and chases the dog off.

The dog belongs to a neighbor, mom Erika Triantafilo told CNN affiliate KERO.

She also told KERO that her son needed a few stitches and is doing fine.

Opinion: Badass hero Tara shows cats rule