Roger Federer saved two match points against Borna Coric to advance to the quarter-finals of the Italian Open on Thursday as defending champion Rafael Nadal and top seed Novak Djokovic raced through in straight sets.

However, Australian firebrand Nick Kyrgios was disqualified after a foul-mouthed rant during his third-round match against Norway’s Casper Ruud which could land him with a lengthy suspension.

Federer came through 2-6, 6-4, 7-6 (9/7) against 13th seed Coric after earlier beating Portugal’s Joao Sousa 6-4, 6-3 in the second round as players doubled up after rain wiped out play on Wednesday.

Federer, a four-time finalist in Rome, trailed 0-4 before dropping the first set, coming back in the second and saving two match points in the third set tie-break.

“Definitely felt like I got a little lucky obviously,” said Federer.

“Borna had the lead. There were crucial moments throughout the match, second set and third set, for me to stay in it. Things definitely went my way tonight.”

Federer next plays Greek eighth seed Stefanos Tsitsipas, who beat Monte Carlo Masters champion Fabio Fognini 6-4, 6-3.

Tsitsipas shocked Federer in the fourth round at the Australian Open in January.

Nadal, meanwhile, dropped just two games throughout the day, dispatching Georgian Nikoloz Basilashvili 6-1, 6-0 in the third round after earlier also dropping just one game against France’s Jeremy Chardy.

“I have been improving every week,” said Nadal, who next plays fellow Spaniard Fernando Verdasco as he targets a first title on clay this season before his French Open defence.

“It’s been a peculiar clay court season for me. I had some tough period of time. Has been little bit difficult to hold the body and the tennis level for every day.”

Djokovic, winner in Madrid last Sunday, beat German Philipp Kohlschreiber 6-3, 6-0 after earlier easing past Canadian Denis Shapovalov 6-1, 6-3.

The four-time Italian Open winner next plays Argentine seventh seed Juan Martin Del Potro for a place in the semi-finals.

“I like the fact that I didn’t play yesterday because I felt like I needed an extra maybe day of rest and recovery a little bit,” said the Serb. “So it was perfect.”

In the women’s event, Japan’s Naomi Osaka, the top seed, also won twice to retain the world number one ranking ahead of the start of the French Open.

She eased into the last eight with a 6-3, 6-3 win over Mihaela Buzarnescu after earlier beating Slovak Dominika Cibulkova by the same scoreline.

Osaka was at risk of losing her world number one ranking to Simona Halep but the Romanian was knocked out by Czech teenager Marketa Vondrousova losing 2-6, 7-5, 6-3.

Halep’s defeat also guarantees Osaka’s top seeding at the French Open.

Fifth seed Dominic Thiem slammed tournament organisers after he was dumped out 4-6, 6-4, 7-5 by Verdasco.

Austrian Thiem complained competitors were left hanging around during the rain-impacted day 24 hours earlier.

“I really dislike how we players get treated at this tournament because yesterday was, in my opinion, not acceptable,” said last year’s French Open runner-up.

“I’m quite pissed about it. I was tired, exhausted, today because of all these shitty things,” he added.

Japan’s Kei Nishikori, the sixth seed, got past American Taylor Fritz 6-2, 6-4 and then Jan-Lennard Struff of Germany in three sets.

Czech second seed Petra Kvitova retired in her third round match against Greece’s Maria Sakkari while trailing 7-5, 5-7, 4-0 in the third set.