Updated

Seven-time champion Rafael Nadal outlasted world No. 1 Novak Djokovic in an epic five-set semifinal, while David Ferrer landed in his first-ever Grand Slam final with a big victory of his own Friday at the French Open.

The third-seeded former No. 1 Nadal held off his great rival Djokovic 6-4, 3-6, 6-1, 6-7 (3-7), 9-7 in a pulsating 4-hour, 37-minute affair to reach his eighth French Open final in nine years.

"I was ready for the fight," Nadal said. "I really fought a lot."

A fourth-seeded Ferrer, meanwhile, won Friday's semifinal nightcap with a mostly one-sided 6-1, 7-6 (7-3), 6-2 victory over sixth-seeded heavy French favorite and former Australian Open runner-up Jo-Wilfried Tsonga on the famed red clay at Stade Roland Garros.

In a match that featured two of tennis' greatest players, Djokovic and Nadal did not disappoint on a hot, breezy, sun-drenched Day 13 of the fortnight. The two stars only intensified their great rivalry, piling up the winners with bludgeoned forehands, fierce two-handed backhands, and deft volleys.

The deciding 82-minute fifth set opened with a service break by the six-time Grand Slam champion Djokovic and the two stalwarts then stayed on serve until the eighth game, when Nadal finally broke back to even the stanza at 4-all. A frustrated Djokovic was called for both a time violation and net violation in that key game.

The marathon fifth was ultimately decided in the 16th game, when Nadal stunned Djokovic by breaking the strapping Serb at love when Djokovic misfired long on one final forehand on Nadal's first match point at a jam-packed Court Chatrier.

"It has been an unbelievable match to be part of, but all I can feel now is disappointment," Djokovic said. "I wanted this title so much."

The classic win gave Nadal an amazing 58-1 record at the French Open, with his only loss coming against Swede Robin Soderling in the fourth round back in 2009.

"I congratulate Novak," Nadal told the crowd. "He's a very great champion. He will win here at Roland Garros another year."

The Australian Open champion Djokovic, donning a white cap on Friday, managed to stay alive in a 58-minute fourth set, one in which Nadal was two points away from reaching a fourth straight final in Paris.

Nadal broke for a 4-3 lead in the fourth, but the advantage was short-lived, as the Serb broke right back and then held for a 5-4 edge.

Nadal then held and got another break for a 6-5 lead and then tried to serve out the match. He appeared on his way to do just that after crushing a pair of brilliant forehand winners for a 30-15 lead to again put himself just two points away from the finale.

But the ever-resilient Djokovic would not be denied, as he charged back to take that 12th game via break, setting the stage for a tiebreak.

Djokovic dominated the tiebreak, which came to a close when the formidable Serb swatted a forehand into Nadal's feet that the Spaniard could only scoop into the net.

Earlier in the bout, Nadal tallied the lone break of the first set en route to victory before Djokovic officially got into the match by cruising in the second.

Djokovic was down a set and trailing 2-3 in the second before a pair of breaks helped him grab a 5-3 lead and a hold secured the stanza for the Serbian star, who won the last four games of the second to level the encounter.

The third set then was all Nadal, as the mighty Mallorcan rolled out to a 5-0 lead before settling for a 6-1 win.

Nadal wound up with eight breaks of serve on Friday, compared to five for the hard-luck loser Djokovic, who tallied 31 more unforced errors (75-44) than his Spanish counterpart.

"That's why he's a champion," Djokovic said. "That's why he's been ruling Roland Garros for many years, and for me it's another year."

The 11-time Grand Slam champion Nadal beat the Serbian slugger Djokovic in last year's French Open final to secure a third straight and men's-record seventh overall Roland Garros title. He is trying to become the first man to win eight titles at the same Grand Slam event.

The reigning Aussie Open champion Djokovic still needs a French Open title to complete a career Grand Slam.

The 27-year-old Nadal is now 20-15 lifetime against the 26-year-old Djokovic, who beat the Spaniard in an ATP Masters final in Monte Carlo in April. Nadal, however, is now 7-3 in their Grand Slam meetings, including a perfect 5-0 mark at Roland Garros. Their previous 11 meetings on tour had all come in finals.

Ferrer, meanwhile, dismissed Tsonga in just over two hours, breaking the Frenchman six times while Tsonga settled for only two breaks in the setback. Tsonga piled up 35 more unforced errors (56-21).

The gritty Ferrer managed to handle Tsonga, who was playing in his first-ever French Open semi, and improve to 3-1 lifetime against the Frenchman. Tsonga won their previous lone Grand Slam meeting in the fourth round at Wimbledon two years ago.

Ferrer, who wound up breaking Tsonga to wrap up the Day 13 festivities, has won all 18 of his sets at this Parisian fortnight after converting on his first match point Friday when Tsonga shot long on one final forehand.

The 31-year-old Ferrer is now 1-5 in his career major semifinals and will appear in that elusive Grand Slam final on Sunday.

Tsonga appeared in his fifth career Grand Slam semi (1-4) and was the first French men's French Open semifinalist since Gael Monfils in 2008. He was trying to become the first French men's French Open finalist since Henri Leconte in 1988 and first French men's champion since Yannick Noah in 1983.

Nadal will appear in his ninth final in nine tournaments in 2013, seeking a seventh title. He owns 56 career championships in 79 finals.

The left-hander missed this year's Aussie and last year's U.S. Open while recovering from a knee injury.

Ferrer will appear in his 39th career final, seeking a 21st title. He's 2-3 in his 2013 finals, including a loss against Nadal in Acapulco back in March.

The 5-foot-9 Ferrer has reached at least the semis in five of the last seven Slams.

Nadal is a dominant 19-4 lifetime against Ferrer, including 3-0 this year. Ferrer, however, is 2-2 versus his compatriot at the majors, but Nadal is 2-0 in their matchups here at Roland Garros.

The last all-Spanish French Open final came in 2002, when Albert Costa upended former world No. 1 Juan Carlos Ferrero.

The 2013 French Open champ will claim $1.97 million.