STOCKHOLM — Roger Federer tied Pete Sampras for career titles on Sunday, earning his 64th crown with a 6-4, 6-3 victory over Florian Mayer of Germany in the Stockholm Open final.

STOCKHOLM — Roger Federer tied Pete Sampras for career titles on Sunday, earning his 64th crown with a 6-4, 6-3 victory over Florian Mayer of Germany in the Stockholm Open final.

Federer claimed his third title of the year at the Royal Tennis Hall to match Sampras for fourth on the all-time list.

The 47th-ranked Mayer gave Federer some trouble, breaking him in the seventh game before the Swiss started hitting some trademark winners to come back and take the set.

Federer showed glimpses of his best form in the second set, mixing power and finesse to outclass Mayer and win the match in 63 minutes.

Federer broke with the score at 3-2 in the second with a drop shot and played a sliced backhand that Mayer could only watch as he took the score to 5-2.

Since 1968, only Jimmy Connors (109), Ivan Lendl (94) and John McEnroe (77) have won more singles tournaments than Federer and Sampras.

Federer holds the record for Grand Slam tournament titles with 16 and continues to reach new milestones with every season. On Friday, he won his 50th match of the year, becoming only the fifth man, and the first since Sampras, to win 50 matches in at least nine straight years in the Open era.

Federer received a standing ovation from the 5,200 in the crowd as Sweden's Crown Princess Victoria presented him with the trophy, in what was his first appearance at the tournament for a decade.

The unseeded Mayer, who is still seeking his first ATP Tour title, was appearing in his third career final and first in four years. He knocked out second-seeded Robin Soderling in the quarterfinals and his unorthodox style also gave Federer difficulty, though the Swiss has beaten Mayer in all three of their encounters without losing a set.