Top seed Juan Martin del Potro successfully defended his ATP Swiss Indoors title with a 7-6 (3) 2-6 6-4 victory against home favourite Roger Federer.
Federer looked to the home comforts and raucous support at Basel, where he is a five-time champion, to revive his difficult season and has now won just one title in the past 14 months.
The sixth-ranked Swiss had the chance to clinch his spot in the World Tour Finals starting in eight days in London but will now have to wait until play next week as the ATP regular season closes at the Paris Masters.
Del Potro, meanwhile, secured his third win in a row against Federer as well as his fourth title this season in a contest which lased two hours and 20 minutes.
Both players started exceptionally well, timing the ball exquisitely on the hard court surface at the St. Jakobshalle.
Del Potro opened up a break-point in the eighth game and took his chance as third-seeded Federer struck his forehand long.
However, the Swiss maestro came flying back in the very next game by breaking to love as the Argentine tensed up whilst serving for the set.
The 'Tower of Tandil' applied further pressure on the Federer serve at 5-4 and was handed a double set point, but the 32-year-old dug deep to fight his way out of trouble.
It went to a tie-break and big-hitting del Potro ran away with it to claim the set in 54 minutes and silence the partisan crowd.
The 17-time grand slam champion responded immediatey in the next set, motoring into a 3-0 lead.
And he restored parity in the contest with another break to claim the set 6-2, losing just one point on his first serve and seemingly carrying all the momentum heading into the decider.
But Federer was the architect of his own undoing as he surrendered his opening service game following a couple of crucial double faults and then failing to take any of his two break point chances in the next game.
Del Potro was desperately attempting to stamp his authority on the home favourite, who was hanging on to the 25-year-old's coattails.
At 5-4 he was handed the opportunity to serve out the match and he did so by holding to 15 to beat Federer for a second straight year.
"I'm sorry again to beat you here," Del Potro said only half-joking at the trophy presentation.
"It's always a pleasure to play Roger. He's the hero here and for me my biggest inspiration. You make history at every tournament you play. I'm proud to be playing at the same time as you."
Inglot wins doubles
In the doubles, Britain's Dominic Inglot won his second ATP World Tour title with Filipino partner Treat Huey.
Inglot and Huey won their first title in Washington last year and had come out on the losing side of three further finals this season.
But they recovered from losing the second set to Austrians Julian Knowle and Oliver Marach to win 6-3 3-6 10-4 on a match tie-break.
The victory also kept alive their slim hopes of qualifying for the Barclays ATP World Tour Finals in London heading into next week's Paris Masters, which is the final chance to garner points.