When 10-year-old Jacob O’Connor found his two-year-old brother face down in his grandmother’s pool, he knew what to do and acted quickly to save the toddler.

Why? Because he learned it from a movie.

Jacob, who lives in the Detroit suburb of Roseville told first responders that he learned the lifesaving techniques from watching Dwayne “The Rock” Johnson in the action film 'San Andreas.'

Jacob’s little brother Dylan made a full recovery and is doing well now. But this happy ending gets even better because The Rock tweeted a shout out to Jacob when he heard about the story, giving credit to the Michigan kid for being a real hero.

“This story touched my heart,” Johnson writes on Instagram. “I’m so amazed and impressed by this little 10-year-old boy’s heroic actions and calm instincts in the middle of that kind of emergency distress. I now need to shake young Jacob’s hand…”

Some say Jacob is also a hero because he is the only known person to make it all the way through the movie 'San Andreas' without falling asleep. (Sorry, Rock, but it was a little sluggish.)