TORONTO - Andy Murray politely described his stay in Toronto as "one of the best weeks I've had," when it would have been just as accurate to describe his run at the Rogers Cup as one of the best weeks anyone could have on the ATP World Tour.

The 23-year-old from Scotland beat the top-ranked player in the world on Saturday, and he followed it with a win over No. 2 on Sunday, winning the tournament with a 7-5, 7-5 victory over Roger Federer at Rexall Centre. It was his first title of the year.

Murray has become the first man to repeat in Canada since Andre Agassi successfully defended his title 15 years ago. He also became only the fifth player to beat both Rafael Nadal and Federer in the same tournament.

"Winning a tournament is always great," Murray said. "This is the first time I've beat Roger and Rafa in the same tournament, which is probably the most pleasing thing. And I didn't drop a set against either of them -- so it's good for the confidence for the next few weeks."

Play was delayed several times by rain at York University, where the players also had to combat the heat and oppressive humidity in the US$2.43-million event. Murray claimed $443,500 with the win, while Federer had to settle for $222,000 with the loss.

"I feel great," Murray said. "Any time you win a tournament, you're obviously incredibly happy. There's a sense of relief, especially at the end of a match like today, where you're up, and then you get delayed and he comes back at you."

It was the first time the two men had met since Jan. 31, when Federer rolled to a straight sets win to claim the Australian Open. It was the 16th Grand Slam win of Federer's career, more than any other player in the game.

"I thought he played well," Federer said. "He wasn't giving me much and he clutch-served at the very end when he had to. He deserved the victory."

In the doubles final, Americans Bob and Mike Bryan won their seventh title of the season with a 7-5, 6-3 victory over Julien Benneteau and Michael Llodra of France.

Rain delayed the start of the match by 15 minutes, and when play finally began, Murray seemed intent on blasting Federer from the stadium before fans could dry their seats. The defending champion jumped out with an early break, and broke Federer for a second time to go up 3-0 before the match was 10 minutes old.

Federer had arrived in Toronto looking to recapture his lost form, six weeks after playing in his last competitive match, a quarter-final loss at Wimbledon. He had taken a rare step -- for him -- by enlisting the help of a coach (American Paul Annacone), and declared he would "love to win another 10 Wimbledons, another five French Opens, an Olympic gold in London, a Davis Cup and whatever -- you name it."

After being held to only two points through the first two games on Sunday, Federer broke back to get to 3-1 and continued the comeback through the first set. He climbed all the way to 5-5 when Murray double-faulted his way to a break, but then Federer lost his own serve and lost the set with Murray on serve.

Murray was on serve with Federer up 2-1 in the second set when rain made its second appearance of the afternoon. Players were sent first to their umbrellas, and then to their dressing room during a delay that stretched to more than 45 minutes.

Murray held serve to level the second set at 2-2 when the chair umpire called the two men back to their umbrellas just moments after play resumed.

A storm rolled in just after 4 p.m. local time, sending everyone scurrying for cover. Play resumed just after 5 p.m., with Murray on serve, up 3-2 in the second set.

Federer seemed to have a burst of energy as the skies cleared, but he struggled to contain Murray's booming serve down the stretch, especially as it screamed past 220 km/h.

"The rain delays completely kind of shut it down for me to get any kind of rhythm," Federer said. "It was played at a couple of points here and there. It didn't even feel like the end of the match, you know? All of the sudden, it was all over."

Murray broke Federer to go up 6-5 and serve for the win. The match finally ended when Federer hit his final return long, after another series of booming shots from Murray.

"With all the physical strain I had to go through this week, honestly, I'm actually feeling pretty good, considering," Federer said. "That's definitely a good sign for what's to come."

Organizers had announced earlier on Sunday that the event had set an attendance record in Toronto, with 161,467 fans streaming onto the university campus throughout the week. The tournament made history on Saturday when the top four-ranked players in the world played in the semifinal round, with Federer beating Novak Djokovic and with Murray beating Nadal.

"I felt pretty good this week, and I prepared well for the tournament," Murray said. "I just wanted to go for my shots more this week, you know, play the way that I felt like playing and it definitely worked."