Djokovic survived Federer, the fans, and a case of the shakes to win his 21st Masters title and his fourth in Indian Wells.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Federer said he was left wondering where his return of serve had gone, but was happy with his week’s play.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Capture and Caption: Over the final few days of the BNP Paribas Open at Indian Wells, photographer Anita Aguilar and senior writer Steve Tignor will recap all the matches.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Martina Hingis (facing away) and Sania Mirza celebrated with a hug after their win in the women’s doubles over Ekaterina Makarova and Elena Vesnina.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Then Hingis got her Rafa on with the trophy.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Fabio Fognini was as animated as ever in the doubles final, where he and partner Simone Bolelli, the Australian Open champions, lost to Vasek Pospisil and Jack Sock.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Whatever Fabio was doing here, his girlfriend, Flavia Pennetta, tried her best not to watch.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Pospisil (left) and Sock won their third doubles title together. “We came out on fire,” Sock said.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Jelena Jankovic also came out on fire, and as spry as a teenager, in her singles final with Simona Halep.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

But JJ couldn’t quite cross the finish line. Her coach, Chip Brooks, tried to keep her positive, but Jankovic didn’t want to hear it.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Simona Halep might make Rafael Nadal wonder if he’s whipping his racquet around far enough on his forehand.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Halep said she “didn’t play, like, good tennis, but I wanted to fight until the end.” She fought her way to a 2-6, 7-5, 6-4 victory and the biggest title of her career.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Jankovic, after getting her frustrations out on her coach, and herself, during the match, accepted defeat in her usual fashion: with a smile.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

The crowd for the men’s final heavily favored Federer, but here the two players’ fans seemed to co-exist in peace.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Federer had won the first set in their last five meetings, but this time it was Djokovic who started in full flight. He was nearly flawless through the first set and a half.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Federer, after controlling the action in his last two matches, was a step and a shot behind in this one.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

But he managed to give the crowd a thrill by coming back to win the second set.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Djokovic survived Federer, the fans, and a case of the shakes to win his 21st Masters title and his fourth in Indian Wells.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Federer said he was left wondering where his return of serve had gone, but was happy with his week’s play.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Djokovic, after breaking Federer fan hearts, made at least one happy here.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Halep tried, and failed, to lift the tournament’s 38-pound Baccarat crystal trophy...

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

...while Djokovic couldn’t quite bring himself to bite it.

Advertising

Images from Indian Wells: Final-Round Photo Gallery

Images from Indian Wells: Final-Round Photo Gallery

Later, though, he bit down on some cake to celebrate his 50th ATP title with his physio Sasa Jezdic. Just as sweet, Novak joked later, was the fact that it put him one ahead of his coach, Boris Becker.