Roger Federer showed he is ready for Wimbledon by defeating Italy's Andreas Seppi 7-6 (1), 6-4 on Sunday to claim his record eighth Gerry Weber Open title.

Despite not replicating the free-flowing tennis of previous rounds, Federer dug deep to win big points. He broke the 45th-ranked Seppi for the first time at the fifth attempt in the decisive moment of his 10th Halle final.

"Of course it's a special moment for me, to win here for the eighth time before Wimbledon. It doesn't happen without making an impression," Federer said.

The 17-time Grand Slam winner sealed his 15th title from 20 finals on grass and his 86th career title from 130 finals overall. Lleyton Hewitt is next on grass with eight titles.

Straight after extending his record haul of titles at Halle - Russia's Yevgeny Kafelnikov is next with three - Federer said he was happy with his play.

"This week has been great when I look at the whole thing. I don't think I was broken in the last four matches I played," the Swiss said. "It gives me confidence in the crucial moments to know my game was right there."

Seppi was in the final after Kei Nishikori withdrew from their semifinal with a calf injury — and Gael Monfils pulled out of the quarterfinal with a knee problem — but the Italian showed no apparent lack of match fitness.

Seppi missed three break points in the first set, including two set points that Federer defended with two successive aces.

Federer took the first of his five set points in the tiebreaker and Seppi missed another break point opportunity early in the second when he hit a return into the net.

Federer's first break chances came at 4-3 in the second set but Seppi won all three to level. It seemed only a matter of time, however, before Federer made the only break, which was enough for the title.

"He played better at the decisive moments and deserved to win in the end," said Seppi, the first Italian to play the final at Halle since the tournament began in 1993. "I'll take some good memories with me."

It's Federer's fourth title of the season after wins at Brisbane, Dubai and Istanbul, and a timely boost for Wimbledon eight days before the tournament begins.

"I think one big secret on grass is when to hit which shot and playing the score the right way," Federer said. "You might be playing perfect but then you take a wrong decision and grass makes you pay for it all."

Andy Murray wins Queen's Club

Andy Murray claimed his 34th career title with a 6-3, 6-4 victory over unseeded South African Kevin Anderson in the final of the grass-court Queen's Club tournament.

Top-seeded Murray, who was contesting his 50th career final, also won the event in 2009, 2011 and 2013. He joins John McEnroe, Boris Becker, Andy Roddick and Lleyton Hewitt as a four-time winner of the event.

It was Murray's third title of the year, following victories in Munich and Madrid.

Earlier Sunday, the third-ranked Murray completed a 6-3, 7-6 (4) semifinal win over Serbia's Viktor Troicki after rain stopped play Saturday.

Anderson was playing his 10th career final and his first on grass. A win would have given him his 200th career victory.

Murray did not face a break point throughout the match but Anderson, who had dropped serve just once during the week, was broken once in each set. The first break came when Murray led 2-1, with Anderson netting a smash, and Murray moved ahead 3-2 in the second set with a drop shot. Although Anderson had struck 96 aces during the week, he failed to produce the same firepower in the final, and his game lacked any other weapons to trouble Murray.