Madrid - Australia young gun Nick Kyrgios knocked top seed Roger Federer out of the Madrid Open on Wednesday with a stunning 6-7 (2/7), 7-6 (7/5), 7-6 (14/12) victory.
Kyrgios, who beat Rafael Nadal at Wimbledon last year, sent down 22 aces to Federer's 15 and next faces John Isner of the United States.
"I've been playing well recently on the clay, so I knew I had a good chance to go out there and do well. I stuck to my game and served well and I got the win," said Kyrgios who was runner-up on clay at Estoril last weekend.
"I guess that's why you play the game, to play on these big courts against these big players. He's the greatest of all, time, no doubt."
Top seed Federer saved five match points in the deciding tiebreaker while having two of his own annulled by the big-hitting Australian youngster, ranked 35th.
"I couldn't return his first serve, I had a horrible performance on return of serve," said Federer. "That made life difficult for me.
"I'm disappointed with how I played on returns, and that cost me the match."
Meanwhile, second seeded Andy Murray went through, beating Germany's Philipp Kohlschreiber 6-4, 3-6, 6-0 in a second round tie which finished at just after 03:00 on Thursday.
Murray, who had defeated Kohlschreiber in the rain-delayed Munich final on Monday in another three-setter to claim his first claycourt title, next faces Spain's Marcel Granollers.
Nadal returned to his clay-court comfort zone, starting his campaign for a fifth Madrid Open title with a 6-4, 6-3 defeat of Steve Johnson.
The victory in 74 minutes lifted Nadal's clay record over Americans to a perfect 10-0 while the third seed improved to 12-3 on the surface this season.
The nine-time French Open champion has four Madrid titles and has played in six finals at his showcase home event.
He is aiming to extend his streak of winning at least one European ATP clay title leading into Roland Garros to 11 straight years.
Nadal goes on to face Italy's Simone Bolelli for a quarter-final spot.
"I think I played a solid match, I played the way I needed to to win that match. I know after a loss like Barcelona (third round) things are not easy when you're playing the next match," said Nadal.
Women's top seed Serena Williams and defending champion Maria Sharapova survived marathon three-setters to reach the quarter-finals.
Williams saved three match points and needed two and three-quarter hours to take her undefeated record this season to 23-0, making the most of a late serving collapse from former number one Victoria Azarenka.
"I could have won, she could have won. I ended up winning and I don't know how," said Williams after her 7-6 (7/5), 3-6, 7-6 (7/1) win. "I feel like it was intense."
Williams next faces Carla Suarez Navarro after the Spanish 10th seed beat Serbian seventh seed Ana Ivanovic 7-5, 1-6, 6-4.
Third seed Sharapova went two and a half hours before seeing off Frenchwoman Caroline Garcia 6-2, 4-6, 7-5.
Sharapova started 2015 by winning 17 of her first 18 matches, but came to Madrid having lost three in a row.
She has now won 57 of her last 62 matches on clay as she waits to play fifth seed Caroline Wozniacki in the quarters. Wozniacki advanced over Poland's Agnieszka Radwanska 6-3, 6-2.
Two-time Wimbledon winner Petra Kvitova, the fourth seed, advanced with ease over Russian Anastasia Pavlyuchenkova 6-1, 6-4.
Romanian Irina Begu beat Barbora Strycova 6-4, 6-4 to next take on Kvitova.
Nadal was joined in the men's third round by Japanese fourth seed Kei Nishikori who saw off Belgium's David Goffin 6-2, 4-6, 6-4. Nishikori will face Spain's Roberto Bautista Agut for a quarter-final spot.
Sixth seed Tomas Berdych accounted for weekend Estoril winner Richard Gasquet 7-6 (7/3), 7-5.
Spanish seventh seed David Ferrer beat Albert Ramos-Vinolas 6-4, 6-0 and Madrid's Fernando Verdasco knocked out US Open champion Marin Cilic 6-7 (5/7), 7-6 (7/5), 6-3.
Bulgarian tenth seed Grigor Dimitrov came back to beat Italian Fabio Fognini 3-6, 6-2, 7-5 while Leonardo Mayer beat 11th seed Feliciano Lopez 7-6 (7/3), 7-6 (8/6).
Number 12 Frenchman Jo-Wilfried Tsonga beat American Jack Sock 6-3, 1-6, 7-6 (7/4).
Isner, the 16th seed, fired 23 aces to defeat Brazil's Thomaz Bellucci 7-6 (7/5), 6-7 (11/13), 6-1.
Results from the fifth day of the ATP and WTA Madrid Open on Wednesday (x denotes seeded player):
Nick Kyrgios (AUS) bt Roger Federer (SUI x1) 6-7 (2/7), 7-6 (7/5), 7-6 (14/12)
John Isner (USA x16) bt Thomaz Bellucci (BRA) 7-6 (7/5), 6-7 (11/13), 6-1
Jo-Wilfried Tsonga (FRA x12) bt Jack Sock (USA) 6-3, 1-6, 7-6 (7/4)
Tomas Berdych (CZE x6) bt Richard Gasquet (FRA) 7-6 (7/3), 7-5
Rafael Nadal (ESP x3) bt Steve Johnson (USA) 6-4, 6-3
Simone Bolelli (ITA) bt Luca Vanni (ITA) 4-6, 6-3, 6-2
Grigor Dimitrov (BUL x10) bt Fabio Fognini (ITA) 3-6, 6-2, 7-5
David Ferrer (ESP x7) bt Albert Ramos (ESP) 6-4, 6-0
Fernando Verdasco (ESP) bt Marin Cilic (CRO x9) 6-7 (5/7), 7-6 (7/5), 6-3
Roberto Bautista (ESP x14) bt Sam Querrey (USA) 7-5, 6-4
Kei Nishikori (JPN x4) bt David Goffin (BEL) 6-2, 4-6, 6-4
Leonardo Mayer (ARG) bt Feliciano Lopez (ESP x11) 7-6 (7/3), 7-6 (8/6)
Marcel Granollers (ESP) bt Gael Monfils (FRA x13) 7-6 (8/6), 6-7 (7/9), 6-4
Andy Murray (GBR x2) bt Philipp Kohlschreiber (GER) 6-4, 3-6, 6-0
Serena Williams (USA x1) bt Victoria Azarenka (BLR) 7-6 (7/5), 3-6, 7-6 (7/1)
Carla Surez Navarro (ESP x10) bt Ana Ivanovic (SRB x7) 7-5, 1-6, 6-4
Petra Kvitova (CZE x4) bt Anastasia Pavlyuchenkova (RUS) 6-1, 6-4
Irina Begu (ROM) bt Barbora Zhlavov Strcov (CZE) 6-4, 6-4
Caroline Wozniacki (DEN x5) bt Agnieszka Radwanska (POL x9) 6-3, 6-2
Maria Sharapova (RUS x3) bt Caroline Garcia (FRA) 6-2, 4-6, 7-5
Svetlana Kuznetsova (RUS) bt Samantha Stosur (AUS) 5-7, 6-2, 7-6 (7/5)
Lucie Safarova (CZE x13) bt Roberta Vinci (ITA) 6-4, 6-7 (6/8), 6-0