Andy Murray ended his eight-match losing streak against Novak Djokovic to claim one of the biggest tournaments of the summer as he beat the world number one in a three-set thriller to take the Rogers Cup title in Montreal.
The British number one - and new world number two - hadn't beaten then Serb since the 2013 Wimbledon final but managed to drag himself over the line in Montreal.
The 6-4 4-6 6-3 win secured Murray his fourth title of 2015 and is a huge boost ahead of the US Open which starts at the end of the month.
In a match that lasted just over three hours, the pair traded breaks of serve in the first and second sets and all the momentum seemed to be with Djokovic heading into the decider.
But, watched by former Chelsea striker Didier Drogba, who has signed for MLS side Montreal Impact, Murray held his nerve to serve out the match after Djokovic had seen off three match points at 5-2 down.
Murray hits a backhand against Djokovic
Image credit: Reuters
Djokovic, who lost for just the fourth time this year, had won 12 consecutive Masters Series finals since he fell to Roger Federer in Cincinnati in 2012.
Murray and Djokovic embraced at the net after a three-hour battle of attrition that left them exhausted as courtside temperatures reached 40C.
"Everybody wants me and Novak to dislike each other and people always try to stir things up between us," Murray, 28, said in a courtside interview.
"It's impossible to be extremely close when we're playing in these sorts of matches because it's so mentally challenging and physically demanding and you need to try to still have that competitive edge as well.
"But it's not easy, not only because we get on but because he's bloody good, he's number one in the world and he hasn't lost in a Masters Series this year. To win against him is extremely tough."
Andy Murray en route to winning the Montreal Masters title
Image credit: AFP
Murray made the decisive break in the second game of the final set but it was not all plain sailing after that, as he survived an 18-minute fifth game to hold serve and take a 4-1 lead en route to his third title on the Canadian hardcourts, and first since 2010.
"We've played many matches like that, especially in grand slams," Murray said. "If this was the U.S. Open, we'd have to play another couple of sets like that, which isn't easy.
"He's obviously one of the best returners in the world and he obviously has a lot of confidence to stand and fight right to the end, so you have to play right to the end of the match and weather the storms when they come, and I managed to that today."
The vanquished Djokovic said sub-par serving had cost him the match.
"Andy is deservedly a winner today on the court," he said.
Image credit: AFP
"I thought what made the difference was his serve and my serve. I didn't serve well the first set and a half.
"But not taking anything away from him, from his victory. He deserved it. He stepped in, played some great shots. Most of all the moments when he needed to, he served very, very well."
Murray congratulated his coach Amelie Mauresmo, who gave birth to a baby boy on the morning of the final, in his post-match speech and dedicated his victory to her.