Nick Kyrgios overpowered Novak Djokovic for the second time in as many weeks on Wednesday to book an Indian Wells quarter-final against Roger Federer, who swatted aside old foe Rafael Nadal.

Kyrgios put on another stellar serving display in a 6-4, 7-6 (7/3) triumph that ended three-time defending champion Djokovic's 19-match winning streak in the first Masters tournament of the year.

Federer, who added another chapter to a storied rivalry with Nadal with an epic Australian Open triumph in January, dismantled the Spaniard 6-2, 6-3.

Source: b'Roger Federer reacts after winning a point against Nadal. Reuters'

It was the first time since their first meeting in 2004 that Federer and Nadal had met before the quarter-finals of a tournament. An oddity of the rankings had them and Djokovic -- with 44 Grand Slam titles among the three of them -- all grouped in the same quarter of the draw.

Djokovic was the first to fall, in the face of relentless aggression from world number 16 Kyrgios.

"The run was amazing," said Djokovic, who also won in Indian Wells in 2008 and 2011 before going on his roll from 2014-2016. "I am very proud of it. It had to end at some stage. Unfortunately, it was today."

Kyrgios, 21, couldn't match the 25 aces he rained on Djokovic in a shock win in Acapulco this month. But 14 aces were plenty as he kept Djokovic off-balance with a welter of 100mph-plus serves.

"That felt good to kind of prove it wasn't a one-off thing," Kyrgios said. "It felt good to back it up again."

A break in the first game of the match was enough to give Kyrgios the opening set.

Djokovic saved two break points late in the second set as they battled to the tiebreaker which Kyrgios dominated, sealing the win, fittingly, with a final monster serve.

Federer broke Nadal to open the match, and seized a second break and 4-1 with a blistering backhand service return winner.

A forehand volley sealed the set, and another forehand winner put Federer up a break at 2-1 in the second.

Federer was firmly in control as Nadal served to save the match at 5-3. An unlucky netcord bounce, when Nadal's forehand clipped the net and rolled back, gave Federer a double match point, and with a backhand return down the line the 36th meeting between the two was his.

The win marks the first time in the rivalry that Federer has strung together three wins over Nadal.

Feature image source: AFP