A 6-year-old boy was playing in his yard when a neighbor’s dog ran towards him, but footage shows that the child’s own dog saved him just in time.

A German shepherd named Tank is the star of nearly 45 million videos on TikTok. The pup and his young friend engage in all kinds of playtime adventures in front their Florida home.

Without warning, a black dog sprints towards them from the upper right side of the screen — with Tank immediately snapping into defense mode.

As the charging would-be attacker nears, Tank moves swiftly to push the boy away and protect him before confronting the other dog.

The tank roared at the aggressive animal, following close until he was a safe distance — even turning to make authoritative sure the young boy he saved was out of harm.

He was not the only hero, with their other dog – a pit bull – tearing out to help chase away the threat as well. The boy’s mom runs out and picks up her son before Tank joins them for on-going protection. By this time, the attacker is controlled by its owner.

The boy’s dad posted surveillance footage of the incident to social media, setting it to the soundtrack of DMX’s “Dogs Out.” The video went viral, getting viewed more than 20 million times by Tuesday morning.

A video shared by the mother also gained nearly 24 million views. “Our neighbor’s dog randomly charged at my son last night & my Tanky saved him from getting mauled or worst,” the mom wrote, and the video went on to say that Tank saved the boy’s life.

Later, she shared footage of Tank playing in his usual environment – rolling on his back and enjoying a rubber toy.

“THE MAN, THE MYTH, THE LEGEND,” she wrote, the footage showed playfulness a “highly skilled professional home security officer.”

“This is Tank & no, he is not professionally trained. He’s just a man with killer instincts, who loves a good chew toy,” she added.

The woman then showed footage of her other dog, who also charged in to help. She said that “every superhero needs a sidekick.”