Novak Djokovic fittingly finished the season of his life on top of the world as he beat Roger Federer to win the ATP World Tour Finals in London.
Djokovic's 6-3 6-4 victory made him the first man ever to win the season-ending tournament four times in a row and brought him his 11th title of a remarkable year.
The result also means Andy Murray is guaranteed to finish the year ahead of Federer at world number two for the first time.
Had the Serbian won the French Open, there would surely be no argument about it being the best season in tennis history.
The only tournament in which he did not reach the final was his first of the season, with Djokovic the first man ever to reach 15 consecutive finals in a season, and his haul included three grand slams and six Masters series trophies.
This was the eighth meeting of the year between Djokovic and Federer, who played off for both the Wimbledon and US Open titles, both won by Djokovic.
But the world number one had been far from his best when they met in the group stages at the O2 Arena on Tuesday, suffering his first loss in 24 matches and first indoors since 2012.
However, any question marks about his form were put to bed by a ruthless display against Rafael Nadal in the semi-finals.
Federer went into the final unbeaten and chasing a record seventh title at the event. At least he was able to take to the court, which was not the case last year when back problems forced him to withdraw ahead of the final, handing Djokovic the title.
Both men had chances in the crucial opening stages but it was Djokovic who took his, breaking serve in the third game when Federer netted a forehand.
The Swiss needed to be at his best but errors on big points, particularly off the backhand wing, were hurting him.
He missed a routine shot when a chance opened up to make it 3-3 and Djokovic made him pay by breaking again to take the set.
Like in his semi-final against Stan Wawrinka, Federer was not afraid to rush the net. On the first set point a backhand overhead saved him, but not on the second.
Federer had only once beaten Djokovic from a set down in their 43 previous meetings, so the omens were not good.
Djokovic looked poised for a breakthrough when two stunning winners gave him 0-40 in the eighth game of the second set but Federer reeled off five straight points, much to the delight of the crowd.
Perceived tennis wisdom is that such moments turn matches but Djokovic promptly went out and held to love.
And in the following game he had his chance again, but this time they were match points. He missed one but did not have to do anything on the second as the pressure told on Federer and he double-faulted.
Remarkably, the result means after 90 matches against Federer and Nadal, Djokovic is tied with both.
The doubles title was won by Wimbledon champions Jean-Julien Rojer and Horia Tecau, who ensured they would finish as the world's number one doubles team by beating Bob and Mike Bryan in the semi-finals.
The Dutch/Romanian partnership did not drop a set all week and defeated Rohan Bopanna and Florin Mergea 6-4 6-3 in the final.
It was a perfect birthday present for Djokovic's coach Boris Becker, who can take a lot of credit for his charge's dominance.
Speaking on court, Djokovic said: "Obviously I'm very proud, together with my team, for the achievements of the season. It could not have been a better finish. It's been a long season, but the best of my life.
"I'm trying to cherish every moment on court where I play at this level."
Federer said: "It's never fun not being on the winning side, but it's better than not playing at all like last year. First of all I'll say how happy I am that could play today.
"This week was great again, and it's been a fantastic year all around. I tried my best, I thought I played some great tennis all week and in the final, but Novak deserves the win today like so many times this year."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here