Rafael Nadal warmed-up for his French Open title defence in style when he dethroned a demoralised Roger Federer as Hamburg Masters champion winning the final 7-5, 6-7 (3/7), 6-3 here on Sunday.
In a rematch of the 2007 title clash, which was won by Federer, triple Roland Garros champion Nadal showed a determined fighting spirit with a superb array of shots to claim victory after 2 hours 52 minutes.
It was the Spaniard's tenth win over Federer - his eighth on clay. It also ended the Swiss world number one's 41-match unbeaten run on German soil.
Since Federer's previous defeat in Germany - to Mark Philippoussis here in 2003 - he had won seven straight German tournaments: three in Hamburg on clay and four in Halle on grass.
It left Nadal with 108 wins on clay from 110 matches since April 2005 and reinforced his position as the overwhelming favourite to win a fourth consecutive Roland Garros, which starts on May 25, and where he is unbeaten after 21 matches.
The pair had contrasting fortunes coming into the final.
Having not dropped a set all tournament, Federer needed just over an hour to see off unseeded Italian Andreas Seppi 6-3, 6-1 in Saturday's semi-final.
In contrast, Nadal fought an epic three-set battle over three hours in his semi-final against Novak Djokovic, the champion on the Rome clay last week.
After breaking Nadal in only the second game of the first set, Federer was in total control and broke again to take a commanding lead at 5-1.
Nadal then called for the physio to look at a troublesome hamstring and it looked like it was all over with barely 30 minutes played.
Federer then twice served for the first set, but Nadal's defence held and he stunned the Swiss star by breaking the world number one three times with some excellent line shots to serve out for the first set 7-5 after exactly an hour.
At the start of the second, Federer was broken again, but responded in kind by breaking back the Spaniard twice with a serve and volley game and then resumed control to serve out to a 4-1 lead.
The game took another twist with Federer leading the second set 5-2, as Nadal rallied again to level the set at 5-5 as the set went to a tiebreak.
Nadal took a 2-0 lead in the tie-break only to see Federer roar back to win the second set breaker 7-3 and level the final.
But in the deciding set, Nadal held his nerve after charging into a 4-1 lead before Federer trimmed him back to 5-3, but the Spaniard served it out and roared his joy at gaining revenge for his defeat in the 2007 final.