LONDON — Novak Djokovic's large lead in the rollicking Wimbledon final was slipping away, due in no small part to Roger Federer's regal presence and resurgent play.
No man has won tennis' oldest major tournament more often than Federer, and he was not about to let it go easily. Djokovic, who had come up short in recent Grand Slam title matches, went from being a point from victory in the fourth set to being caught in the crucible of a fifth.
Steeling himself when he needed to, Serbia's Djokovic held on for a 6-7 (9-7), 6-4, 7-6 (7-4), 5-7, 6-4 victory after nearly four hours of momentum shifts Sunday to win Wimbledon for the second time — and deny Switzerland's Federer what would have been a record eighth championship at the All England Club.
"I could have easily lost my concentration in the fifth and just handed him the win. But I didn't, and that's why this win has a special importance to me, mentally," Djokovic said. "I managed to not just win against my opponent but win against myself, as well, and find that inner strength."
Cradling his trophy during the post-match ceremony, Djokovic addressed Federer directly: "I respect your career and everything you have done. And thank you for letting me win today."
Federer smiled at that line. But Djokovic deserved plenty of credit for figuring out a way to raise his Grand Slam total to seven titles, allowing him to overtake Rafael Nadal for No. 1 in the world rankings.
"Novak deserved it at the end, clearly," said Federer, who hadn't been to a Grand Slam final since winning Wimbledon in 2012, "but it was extremely close."
Federer, who turns 33 next month, produced 29 aces, but Djokovic broke him four times.
Federer went to the net aggressively only to see Djokovic zoom more than a dozen passing shots past him. And with most of the Centre Court crowd of about 15,000 raucously cheering for Federer, Djokovic, 27, kept believing in himself.
That part might have been the most difficult, given that Djokovic lost his past three major finals and five of his past six, including against Andy Murray at Wimbledon last year and against Nadal at the French Open last month.
"Started doubting, of course, a little bit," Djokovic said. "I needed this win a lot."
Boris Becker, who began coaching Djokovic this season, called the new champion "the biggest competitor" and praised "his sense of not giving up, giving it always another try."
"It could've gone either way in the fifth set," said Becker, whose former rival as a player, Stefan Edberg, coaches Federer. "Novak finds another way. He digs deep and finds another way."