Veteran star Kei Nishikori saved two match points to battle back and stay alive in a five-set epic at the Australian Open on Sunday, admitting he almost gave up.

The 35-year-old, who reached a career-high No. 4 in the world and was a U.S. Open finalist a decade ago, was on the brink of defeat at John Cain Arena against Thiago Monteiro.

But he rallied to beat the Brazilian 4-6, 6-7 (4), 7-5, 6-2, 6-3 in a little over four hours.