Paris (CNN) โ€”ย Itโ€™s the final day of the Summer Olympics and the USA and China have tied in the overall gold medal rankings from these 2024 Summer Olympics.

While Team USA is far ahead in the total medal rankings with 126 in Paris, it went into the last competition of the Games trailing China in the gold medal race by one. The Asian nation finished with 40 gold medals, and the US had 39 entering the final event โ€“ the womenโ€™s basketball gold medal game between Team USA andย France.

Team USA would win that game inย dramatic circumstances, leading to a tie in the gold medal standings.

โ€œI saw the medal count beforehand. I thought thatโ€™s what we need, more pressure,โ€ USA head coach Cheryl Reeve said after the game.

On the total medal standings, itโ€™s not close. Team USAโ€™s 126 gold, silver and bronze medals far exceeds Chinaโ€™s 91, the next closest nation.

Team USA had a chance to move past the Chinese in the gold standings on the final day. US teams and athletes competed for gold in womenโ€™s basketball, womenโ€™s volleyball, womenโ€™s freestyle wrestling in the 76kg weight class, womenโ€™s weightlifting in the 81kg weight class and potentially womenโ€™s omnium in track cycling. American cyclist Jennifer Valente defended her title in the womenโ€™s omnium, ending the competition with 144 points, racking up the USAโ€™s 39th gold medal.

China won gold on Sunday in the womenโ€™s weightlifting in the 81kg weight class when Li Wenwen defended her Olympic title from Tokyo, her countryโ€™s 40th gold medal of the Games.

The US volleyball team could not repeat its gold medal victory from Tokyo against Italy. The Italians had already guaranteed themselves their first ever medal in the sport.

In 2021, Team USA took the overall gold medal race by one, with 39 to Chinaโ€™s 38. It would have taken a strong day from American athletes to repeat the feat on Sunday.

However, Team USA as a whole has already easily surpassed those previous Summer Gamesโ€™ total medal haul. The Americans won 113 medals in Tokyo.