Ryan Bean, a Utah high school student, may have died on Saturday, after hitting his head while trying to dump in a pool.
But thanks to his friend Tyson, the active 15-year-old is alive and well, and back in school by choice.
Ryan had been at a party with Tyson Parker over the weekend when he decided to dump a water slide into the water. He had asked his friend to film the trick, and Tyson had forced it.
But when Ryan could not resurface, his friend dived to retrieve it before asking for help, St George News reported.
Ryan Bean, 15, almost died on Saturday after performing a backflip that went horribly wrong
By the time he was dragged out. Ryan had been underwater for 40 seconds and did not respond.
I was so scared, Tyson said. "When I brought him in, his face was purple, so I did not know what to do."
Moments later, Ryan regained consciousness and coughed up blood and water.
He was rushed to the local hospital, before he was flown to a more specialized children's facility in Salt Lake City, where excess water drained from his lungs, and oxygen machines were placed in his face.
Bean, who apparently had been doing the return all day, asked his friend Tyson to film him doing it for the last time. But the teenager hit his head against the rocks and did not resurface
The footage that Tyson filmed shows Ryan falling, and then sinking to the bottom of the pool, where he is motionless.
Ryan had a severe concussion and spent three days in the hospital before being discharged.
The teenager will still need time to recover, something his mother Laura says he will have problems with, since he has been doing tricks and tricks since he was a child, and has never been one for long periods of rest.
Ryan was underwater for about 40 seconds before being dragged by Tyson, who realized that his friend was not kidding.
Laura told her friends on a Facebook page dedicated to her son's recovery that the incident had "put life in perspective," and made her feel incredibly lucky, not only for her son's life, but for the strong ties family and community members who quickly joined to support the family.
"I am very grateful for a son who is so resistant, persistent, determined and strong," he wrote.
"It really is amazing and I know he will recover faster than most in this situation." His determination surprises me sometimes.
The mother of three could be right. Ryan returned to school on Wednesday, just one day after discharge, because "I wanted to go."
Laura says that Ryan found out about the incident, and although he doubted that he stopped throwing and performing other physical tricks, he believes that he will be more aware of the danger and, hopefully, a little more cautious.
A GoFundMe was established to help pay Ryan's medical bills, including his emergency air transportation.
When Ryan regained consciousness, he coughed up blood and water and was rushed to the hospital. He was then airlifted to a specialized ICU ward for treatment, and was discharged on Tuesday.