The Triantafilo family will no doubt be spoiling their cat tonight.

Roger Triantafilo's four-year-old son was riding his bicycle outside their home in Bakersfield, Calif., when he was attacked by a neighbour's dog, WGHP reports.

Seconds later, the Triantafilo family's heroic feline rushes to the rescue, slamming into the canine and chasing it away. Triantafilo uploaded footage of the rescue, shot on surveillance cameras, to YouTube on Wednesday.

"My cat defends my son during a vicious dog attack and runs the dog off before he can do additional damage. Thankfully, my son is fine!" the video's description reads.

The boy was taken to a hospital and received 10 stitches, according to local media reports.

Related on HuffPost:

Loading Slideshow...
  • "That Is NOT Natural"

  • "Can You Believe Who Gossip Girl Is!?"

  • Each Cat Is Reacting To The Season Finale Of "Homeland"

  • "Um, Excuse Me?"

  • "Oh No, Not The Tickle Monster"

  • "Just Please Don't Put A Wacky Newspaper In Front Of Me"

  • "Is That A New Camera?"

  • "Is That Catnip?"

  • "Wait, We're Not Going To Disney World?"

  • "I Look THIS Cute And You Come Out With A Paper Ball?"

  • "Is That A Slice Of Bologna?"

  • "You Last Washed Your Sheets When?"

  • "That Is An Impressive Zoom"

  • "That Can't Be Right"

  • "I Do NOT Want To Go To There"

  • "SANTA?"

  • "Stop, Just Stop"

  • "Is That A Dog?"

  • "You Remembered My Birthday!"

  • "Girl, Do Not Even Start!"

  • "Is That A Grey Hair?"

  • "It's A Bird, It's A Plane..."

  • "Is The Photo Shoot Over?"

  • "Have You Seen Our Electricity Bill?"

  • "Oh No! A Caterpillar!"

  • "What Did You Do To Your Hair?!"

  • "Are You Going To Pick Me Up?"