Yao first played for China in the 2000 Summer Olympics, and he was dubbed, together with teammates Wang Zhizhi and Mengke Bateer, "The Walking Great Wall". During the 2004 Athens Olympics, Yao carried the Chinese flag during the opening ceremony, which he said was a "long dream come true". He then vowed to abstain from shaving his beard for half a year unless the Chinese national team made it into the quarter-finals of the 2004 Olympics. After Yao scored 39 points in a win against New Zealand, China lost 58–83, 57–82, and 52–89 against Spain, Argentina and Italy respectively. In the final group game, however, a 67–66 win over the reigning 2002 FIBA World Champions Serbia and Montenegro moved them into the quarterfinals. Yao scored 27 points and had 13 rebounds, and he hit two free throws with 28 seconds left that proved to be the winning margin. He averaged 20.7 points and 9.3 rebounds per game while shooting 55.9% from the field.