(CNN) -- Roger Federer took the world No. 2 by beating the world's second ranked player to advance to the Rogers Cup finals on Sunday.
Federer beat Novak Djokovic 6-1, 3-6, 7-5 in the Saturday night semifinals in Toronto. He will meet Andy Murray in Sunday's final.
"I was up very quickly, too quickly almost. Against a guy like Novak I knew all it would take would be one service break and his whole attitude and demeanor will change," Federer told the ATP official website. "I've had some tough losses this year and it's nice to get some of those back. I was losing the tight matches that I'm supposed to win."
"I didn't find my rhythm," Djokovic told the ATP website. "After only half an hour it was already set and break up. But I managed to come back, and I started feeling the ball better. But overall it wasn't the best performance by my side."
Earlier, defending champion Andy Murray defeated world No. 1 Rafael Nadal in straight sets on Saturday to march into the final of the Rogers Cup in Canada.
The 23-year-old Scot beat the 2008 champion for just the fourth time in 12 career meetings after his victory in a match which saw neither player serve to the best of their ability.