Juan Martin del Potro earned the fourth and final berth in Sunday's semifinals at the season-ending ATP World Tour Finals by outlasting six-time tournament champion Roger Federer in three sets during Saturday's final day of round-robin play.

Del Potro bested Federer, who had already secured a spot in the semifinal round, by a 7-6 (7-3), 4-6, 6-3 score to advance. The accomplished Argentine earned a pivotal break of the 17-time Grand Slam champion to go up 2-0 in the final set, then held serve the rest of the way to conclude his Group B bracket with an identical 2-1 record as Federer.

However, Federer proved to be the winner of Group B due to fourth-seeded David Ferrer's 4-6, 6-3, 6-1 victory over eighth-seeded Janko Tipsarevic. Federer topped both Ferrer and Tipsarevic earlier in the event. Del Potro finished second in Group B.

Federer, seeded second, has claimed the title at this prestigious eight-player event in each of the past two years.

World No. 1 Novak Djokovic won the Group A bracket after going 3-0 in his round-robin bouts, with third-seeded and crowd favorite Andy Murray also advancing after the British Olympic champion posted a 2-1 overall mark.

On Sunday, Djokovic will take on del Potro and Federer will do battle with Murray. The winners will square off in the lucrative finale Monday night.

The 2012 World Tour Finals champion can earn as much as $1.76 million.