A 10-year-old boy from Roseville in the US state of Michigan has received admiration from none other than Hollywood star Dwayne Johnson, also known as The Rock, after he saved his younger brother's life using a move learned from one of the superstar's films.

According to reports, the incident happened in July when Jacob O'Connor was at his grandmother's home with his brothers – Dylan, 2, and Gavin, 8 – while their mother Christa O'Connor was at work. Jacob was watching TV when Dylan managed to open a screen door and fall into the pool.

But instead of freaking out and calling someone else for help, the young boy pulled out Dylan from the water, who was floating face-down in the pool. Then he started giving him chest compressions – just like he'd seen The Rock doing in the film San Andreas.

Dylan coughed up some water after the chest compressions were administered. But when the two-year-old did not respond fully, Jacob called his grandmother and the toddler was later taken to a hospital.

"In most movies, that's what they do. They try to save the person first, and if it's not working, they go get someone," Jacob told local TV station WXYZ Detroit.

The Rock came to know about the youngster's bravery on Thursday (24 August) and tweeted, "Wow amazing story. Giving you a Twitter [salute emoticon] Jacob for saving your little brother's life. You're a real life hero. We're all proud of you! DJ ."

Jacob's mother Christa O'Connor was obviously thankful for her child's presence of mind and his actions. She told the BBC, "I'm at a loss for words. I'm amazed at what Jacob did. I'm so proud of him.

"I'm surprised Jacob remembered what he'd seen in the film, but it's one of his favourites and he'd seen it the week before."

The scene which Jacob copied was from San Andreas in which Johnson's character tries to save his on-screen daughter using chest compressions.

"My favourite movie, San Andreas, had compressions (CPR) in the movie and I remembered it from the part in the movie where there was an earthquake, then there was a tsunami, and the girl was drowning," the young boy said.