BEIJING -- Rafael Nadal won the Olympic men's singles gold medal Sunday, overcoming two set points in the second set and holding every service game to beat Fernando Gonzalez of Chile 6-3, 7-6 (2), 6-3.
The gold medal was the first ever for Spain in Olympic tennis.
Nadal was already assured of taking over the No. 1 ranking Monday for the first time, ending Roger Federer's reign after 4 1/2 years. Nadal has won 38 of his past 39 matches, including victories over Federer in the finals at the French Open and Wimbledon.
"Nowhere in my best dreams I can imagine something like what I did this year," Nadal said. "I know how difficult it is to win these things, and especially here, because you only have one chance every four years."
Elena Dementieva earned the gold in women's singles, taking advantage of 17 double-faults by fellow Russian Dinara Safina to win 3-6, 7-5, 6-3.
In women's doubles, Venus and Serena Williams of the United States won the gold, beating Anabel Medina Garrigues and Virginia Ruano Pascual of Spain 6-2, 6-0. The sisters celebrated with shrieks, then shared a hug.
Men's singles has traditionally been an upset-filled event at the Olympics, and Nadal is the first player ranked in the top five to win the gold.
He took charge against Gonzalez from the start, breaking serve in the second game. Nadal didn't face any break points until the 12th game of the second set, when he was down 5-6, 15-40.
Gonzalez failed to convert the set points, pushing a volley wide and putting a forehand in the net. The Chilean made five unforced errors in the tiebreaker to give Nadal a commanding lead.
Nadal ripped a backhand passing shot to break at love for a 3-1 lead in the final set, and erased two more break points to hold for 5-2.
He needed four match points to close out the victory, ripping one last forehand that Gonzalez barely could reach. Nadal collapsed to his back in jubilation.
Men's singles has traditionally been an upset-filled event at the Olympics, and Nadal is the first player ranked in the top five to win the gold. He stayed in the athletes' village and said the experience rejuvenated him.
"I arrived very tired," he said. "The reason probably I won this title is because I have a fantastic time here enjoying a lot in the village. That was amazing experience for me. Always was a pleasure to know new people, no?"