Rafael Nadal set up a much-anticipated Australian Open final against old rival Roger Federer with an epic, five-set semi-final win over Grigor Dimitrov.

The Spaniard won 6-3 5-7 7-6 (7-5) 6-7 (4-7) 6-4 in almost five hours to reach a first Grand Slam final since 2014.

Dimitrov's wait to reach a maiden Slam final continues after Nadal, 30, inflicted his first defeat of the year.

Nadal, who is attempting to win a 15th major title, will face Swiss rival Federer, 35, in Melbourne on Sunday.

"I never dreamed to be back in the final of the Australian Open," said Nadal.

"It is a very special thing for both of us to be playing again in a major final. Neither of us probably thought we would be here again."

He will meet Federer, who needed five sets to beat compatriot Stan Wawrinka in Thursday's first semi-final, in Melbourne's Rod Laver Arena at 08:30 GMT.