Hours from playing in the biggest final of his young career, Taylor Fritz was in severe pain. The prospect of having to withdraw against Rafael Nadal nearly had him in tears.

His coach urged him not to potentially risk damaging his sore ankle further.

Fritz stubbornly refused to bow out and it paid off.

Watch the latest Sport on Channel 7 or stream for free on 7plus >>

Fritz upset Nadel 6-3 7-6 (7-5) on Sunday to win the Indian Wells Masters and snap the Spaniard’s 20-match winning streak to start this year.

“It was a complete non-issue, didn’t feel it at all, didn’t hinder me at all,” said Fritz, who tweaked his ankle late in his semi-final win.

Nadal had his own health issue.

He came into the match bothered by painful breathing that he first experienced in his three-set semi-final victory, and required two medical timeouts during the final.

“When I try to breathe, it’s painful and it’s very uncomfortable. It’s like a needle all the time inside. I get dizzy a little bit because it’s painful. It’s a kind of pain that limit me a lot,” said Nadal, who turns 36 in June.

“The thing that worries me now, it’s about what’s going on there, what I have to do now to recover and how long going to take.”

Nadal’s 20-0 start to the year included the Australian Open, his 21st major championship that broke a tie with Novak Djokovic and Roger Federer. He also won titles in Melbourne and Acapulco.

“Of course, the last two months have have been amazing, unforgettable, very emotional,” Nadal said.

“I enjoy things that I never thought I could live again a few months ago.”

Fritz didn’t waste any time in attacking Nadal, racing to a 5-1 lead in the first set with two breaks.

Nadal got a break back in closing to 5-3, but his backhand error gave Fritz another break and the set.

“It’s an honour to even be on the same court as this guy,” Fritz told the crowd.

“I grew up watching this guy win everything.”

Nadal fought off one match point on his serve but Fritz would not be denied biggest victory of his career not far from where he grew up near San Diego.

Fritz’s parents, Guy Fritz and Kathy May, are former tour players.

“He told me that I was going to win this tournament one day when I was a little kid,” Fritz said of his dad.

Fritz is projected to rise from No.20 to a career-high 13th in Monday’s ATP Tour rankings. Nadal moves up to No.3.

Nadal had already decided to skip next week’s tournament in Miami and head home to Spain to prepare for the French Open that begins May 22.

Fritz is scheduled for a MRI on his ankle Monday and isn’t sure whether he’ll be able to play in Miami.