London - Novak Djokovic saved two match points to clinch a fifth Wimbledon title and 16th major on Sunday, shattering Roger Federer's bid to become the oldest Grand Slam champion in the longest final ever played at the tournament.
Despite being outplayed by the 37-year-old Swiss for large parts of the knife-edge encounter, the world number one triumphed 7-6 (7/5), 1-6, 7-6 (7/4), 4-6, 13-12 (7/3).
At 4 hours and 57 minutes, it was the longest Wimbledon final ever played and settled by a final set tiebreak for the first time.
Djokovic is the first man in 71 years to win the title from match points down.
He is now level with Bjorn Borg as a five-time Wimbledon winner.
"I think that if this is not the most exciting final then definitely it's in the top two or three of my career against one of the greatest players of all time, Roger, who I respect," said Djokovic.
"Unfortunately in this type of match someone has to lose. It is quite unreal to be two match points down to come back and strange to play a tie-break at 12-12."
Djokovic is just four Grand Slam titles shy of the all-time record held by Federer who is more than five years older.
It was incredibly tough on Federer, chasing a ninth Wimbledon crown, who didn't face a break point until the eighth game of the fourth set.
He even had two match points in the 16th game of the deciding set which lasted over two hours.
"It was long and it had everything. I had answers, so did he and we played some great tennis," said Federer.
"I hope I give some other people at 37 the feeling it is not over yet."
Djokovic's win meant that the 'Big Three' of men's tennis - himself, Federer and Rafael Nadal - have won the last 11 Slams.
He has now won nine of his last 11 clashes against Federer and three of their four Wimbledon meetings.
With William and Catherine, the Duke and Duchess of Cambridge looking on from the Royal Box, Federer carved out the only break point of the opening set.
But Djokovic saved it and with serve dominating, the set was decided by the tiebreak.
The top seed was 3-1 up, then Federer inched to 5-3 before Djokovic swept the next four points.
At 58 minutes, it was two minutes longer than the women's final on Saturday.
Djokovic, however, then went completely off the boil, losing his footing as he was broken in the first game of the second set.
Federer broke twice again and after just 25 more minutes the final was all-square with Djokovic managing just two winners in the set.
Federer was comfortably on top in the third set, flashing winners from all parts of the court but was unable to convert a set point in the 10th game.
Djokovic made him pay. Despite not managing a single break point in the match, he pounced again in the tiebreak to reclaim the lead.
Federer wasn't finished. Back came the veteran with a double break for 5-2.
Djokovic then carved out his first break points of the match in the eighth game.
The first was saved after a breathtaking 35-shot rally before the Serb finally broke for the first time.
It was too little, too late, however, as Federer deservedly levelled the final.
Into a tense finale, Federer saved three break points in the fourth game but a drilled, backhand passing shot gave Djokovic the break in the sixth game for a 4-2 lead.
The world number one couldn't back it up and Federer had Centre Court on their feet when he restored parity in the next game.
Despite twice being just two points from defeat, Federer broke for 8-7 but was unable to serve out for the match.
As the clock ticked past the previous longest final of 4 hours and 48 minutes it took Nadal to beat Federer in the 2008 final, the match was decided by the first 12-12 tiebreak in a singles match at the tournament.
Djokovic prevailed, moving to three championship points and claiming victory when Federer shanked a return wide.
Federer finished with 25 aces and 94 winners to Djokovic 10 aces and 54 winners.
Factfile on Novak Djokovic, who won the 2019 Wimbledon title on Sunday:
Name: Novak Djokovic
Date of birth: May 22, 1987
Place of birth: Belgrade
Residence: Monte Carlo
Turned pro: 2003
Height: 6ft 2in (1.88m)
World ranking: 1
Career singles titles: 75
Career Grand Slam titles: 16 (Australian Open 2008, 2011, 2012, 2013, 2015, 2016, 2019; French Open 2016; Wimbledon 2011, 2014, 2015, 2018, 2019; US Open 2011, 2015, 2018)
Career prize money: $134,656,304
Recent Wimbledon men's singles champions after Novak Djokovic won the 2019 title at the All England Club on Sunday:
2019: Novak Djokovic (SRB)
2018: Novak Djokovic (SRB)
2017: Roger Federer (SUI)
2016: Andy Murray (GBR)
2015: Novak Djokovic (SRB)
2014: Novak Djokovic (SRB)
2013: Andy Murray (GBR)
2012: Roger Federer (SUI)
2011: Novak Djokovic (SRB)
2010: Rafael Nadal (ESP)
Leading Grand Slam title winners after Novak Djokovic won the 2019 Wimbledon title on Sunday:
20: Roger Federer
18: Rafael Nadal
16: Novak Djokovic
14: Pete Sampras
12: Roy Emerson
11: Bjorn Borg, Rod Laver