Jo-Wilfried Tsonga beat Roger Federer in straight sets to win the Rogers Cup for the first time.
The first set went with serve until former world number one Federer went long on Tsonga's first break point.
Federer saved a championship point before Tsonga, 29, claimed his second ATP Masters 1000 title.
The Frenchman's powerful display against the 17-time Grand Slam winner capped a fine few days in Canada that also saw him down Wimbledon champion Novak Djokovic, as well as Murray and Dimitrov.
Federer said Tsonga "deserved this title", adding "he beat some amazing players on the way".
Tsonga said: "If you believe in something it can happen. I'm proud of what I've achieved this week."
Despite Tsonga winning 93% of points on his first serve, Federer clung on on the first set, and was 30-0 up on Tsonga's service at 5-5.
|33/35 (94%)||First service won||45/64 (70%)|
|22/35 (62%)||Second service won||18/36 (50%)|
|0/0 (0%)||Break points saved||6/7 (85%)|
But the world number 15 fought back, and after a Federer challenge was overruled at 30-30 in the next game, Tsonga took the set at the first opportunity when the 33-year-old Swiss sent a forehand a long way out.
Federer saved five break points in the second set, but when Tsonga had championship point at 5-4 a shout from the crowd appeared to upset his concentration and allow Federer a life.
However, after he edged ahead in the tie-break Tsonga set himself up for victory with a powerful forehand, before Federer found the net on the next point to give his French opponent his first ATP 1000 title since the Paris Masters in 2008.