Coco Gauff has rallied from a break down in the final set to beat Sweden’s Rebecca Peterson 6-3 1-6 6-4 and reach the Indian Wells quarter-finals for the first time.

After taking the first set, the sixth-seeded American began to struggle with her forehand in the second and an opportunistic Peterson began to apply pressure by coming into the net.

But after suffering an early break in Tuesday’s decider, Gauff stepped up her defence, fending off three break points at 4-4 and breaking Peterson for a fourth time on match point to book her spot in the last eight.

Gauff, who turned 19 on Monday, was serenaded with a rendition of “Happy Birthday” after the match by the partisan crowd in the southern California desert.

“Today, it was just a mental thing, staying in the match,” Gauff said.

“I wasn’t playing my best in some moments and wasn’t serving as well as I’d like to, but I think my mentality kept me in today.”

Next up for Gauff in California is a meeting with either Belarusian second seed Aryna Sabalenka or Czech 16th seed Barbora Krejcikova.

Elsewhere, seventh seed Maria Sakkari outlasted big-serving Czech Karolina Pliskova 6-4 5-7 6-3 in a two-hour and 45-minute marathon to reach the quarters.

With the win the Greek keeps alive her hopes of capturing a first Indian Wells crown after making the final last year.

Sakkari will next face either third-seeded American Jessica Pegula or Czech 15th seed Petra Kvitova for a semi-final spot.