INDIAN WELLS, Calif. -- Move over Roger Federer, there is another guy with a share of your crown as king of the desert.
Novak Djokovic defeated Federer 6-3, 6-7 (5), 6-2 to win his fourth BNP Paribas Open on Sunday, tying him with Federer for the most titles in the desert after winning for the second straight year.
"I am at the prime of my career," Djokovic said. "I'm going to try to use every part of this fact to stay where I am and to fight for as many major titles as possible."
Djokovic, ranked No. 1 in the world, and No. 2 Federer met for the 38th time, second-most among rivalries in the Open era. Federer leads the series 20-18 and had won three of their last four meetings going into the final.
But Federer made too many mistakes at crucial times, piling up 43 unforced errors to 35 for Djokovic. The Serb connected on 63 percent of his first serves, while Federer's serve let him down. He double-faulted to trail 4-2 in the third as Djokovic won the last four games of the match.
"I felt huge relief, to be honest," Djokovic said. "I saw I'm not the only one that is double-faulting under pressure. I got myself in a position to break and then he handed me that break. I thought I deserved it in a way because I really fought hard for it."
Federer's serve had carried him earlier in the tournament, when he faced just three break points in his first five matches and he saved two of those.
"I was trying to really focus a lot on my serve because it was very important because he returns so well off the second serve," Federer said. "He really plays everybody really tough when he returns off the second serve, and I think that's what also was tough today against him."
Djokovic also won in three sets last year. He and Federer have combined to win eight of the last 11 titles in the desert, and they became the first two players to reach the final in consecutive years since the tournament began 40 years ago.
"He has been always the ultimate challenge, with (Rafael) Nadal, depending on which surface I get to play," Djokovic said. "Obviously Nadal on clay is the toughest one to beat, and Roger on the quicker surfaces. But because they have been so dominant over the years and so consistent and so confident on the court, it's very difficult to get into the mix and start winning titles against them."
Simona Halep beat Jelena Jankovic 2-6, 7-5, 6-4 in the women's final, giving the Romanian the biggest title of her career and a WTA Tour-leading third tournament victory of the year.
Djokovic and Halep earned $900,400 each.
On his way to his 50th career ATP Tour title, Djokovic broke Federer once to take the first set. Federer rallied from a 3-1 deficit in the second set for a 5-all tie. They traded love service games to get into the tiebreaker, where Djokovic took a 5-3 lead.
Djokovic double-faulted three times, including twice in a row, setting up Federer's first break point. The Serb's backhand lob sailed long, allowing Federer to tie the match at a set apiece.
Federer then broke Djokovic for a 2-1 lead in a game that went to deuce five times before Djokovic netted a backhand. Federer was the clear favorite among the crowd of 16,988, although chanting Serbian fans at the top of the stadium made their presence known.
"When I play Roger it's something that you expect that he has more support because of who he is," Djokovic said.
Federer held serve for a 2-all tie before Djokovic won the final four games of the match.
"You miss a couple of shots which you shouldn't and then maybe I didn't serve as good as I should have, and then that's all Novak needs," Federer said. "Then he doesn't blink. It's pretty quick."