In the end, Biles came out on top, winning the gold with a final score of 62.198. Raisman was close behind, taking the silver with a 60.098 after a showstopping floor routine. Russian gymnast Aliya Mustafina won the bronze.
The result caused both American women to dissolve into tears of joy. After Raisman’s incredible floor routine – her last rotation for the event – she burst into tears. Minutes later, after Biles had clinched the gold with her own showstopping floor exercise, the two women hugged and cried.
Even when Biles stood on the victor’s stage, she called Raisman up to join her. The two women clasped hands and blew kisses to the 12,000-person audience.
Sitting on the sidelines, the women’s teammates – Gabby Douglas, Madison Kocian and Laurie Hernandez – clapped and screamed.
“The girls have worked so hard, and they deserve it,” Hernandez told the crowd over the microphone.
“I’m so happy for them,” said Douglas. “All their hard work paid off.” Added Kocian: “This was great. The crowd here was amazing, and we’re just thankful for the support.”
Despite the fact that Biles and Raisman were competing against each other, they were still part of the same team. After every rotation, they hugged and smiled at each other. Even when the cameras weren’t on them, they whispered and laughed.
Both women started off strong with the vault. Biles scored a 15.866, while Raisman scored 15.633. At the end of the first rotation, they were in first and second place, respectively.
For more of PEOPLE’s Olympic coverage, pick up our collector’s edition, The Best of the Games, on sale now.
But the second rotation, uneven bars, was the roughest event for both women. Biles took a 14.966, while Raisman scored a 14.166. At the end of the rotation, Biles was in second place, while Raisman had fallen to fourth.
The third rotation was balance beam. Biles scored a 15.433, enough to put her back on top. Raisman took a 14.866, and moved into third place.
The fourth and final rotation was floor exercises, where both gymnasts shined. The crowd roared their approval at the end of Raisman’s strong performance as she dissolved into tears. She scored a 15.433, enough to give her the silver.
Biles’ floor routine also earned her a standing ovation – and a jaw-dropping score of 15.933.
Individual competitions continue next week.