Murray wins gold, Del Potro takes bronze
The result was a royal rout. Murray swept nine consecutive games, breaking Federer's serve four times in a row, and won 6-2, 6-1, 6-4.
The victory marked a breakthrough for the Scotsman, who has lost all four of his Grand Slam finals, three against Federer.
For Federer, the drubbing marked another Olympic disappointment. Playing in the games for the fourth time, he sought a victory to complete a career Golden Slam but still earned his first singles medal.
From the start, there was no doubting fans' loyalty. Fans waved Union Jacks throughout.
Juan Martin del Potro won the first medal of the London Olympics for Argentina beating Serbia's Novak Djokovic in their bronze medal match here Sunday.
Both players had six break points throughout the match, but second seed Djokovic missed all of his as he lost 7-5, 6-4.
The Olympic bronze is the second success for the 23-year-old at major tournaments after his victory at the US Open in 2009.