Serbia's Novak Djokovic clinched his place in the semi-finals of the ATP World Tour Finals when he beat Tomas Berdych 6-3 7-5 in his last round-robin match in London.
The world number one required one set to guarantee the runners-up spot in the Stan Smith Group behind unbeaten section winner Roger Federer who earlier beat Kei Nishikori.
Djokovic will face Rafael Nadal in the last four this weekend with six-times champion Federer up against either Stanislas Wawrinka or home favourite Andy Murray.
Djokovic, bidding for a fourth consecutive title at the year-ender, was well beaten by Federer on Wednesday to end a three-year unbeaten sequence on indoor courts.
But he bounced back to take the opening set with a couple of service breaks and, although far from his best, the Serb did enough to finish the contest in straight sets.
Czech Berdych's only chance of qualifying for the semis was to beat Djokovic in straight sets, although with two wins in 22 matches against him it was always a tall order.
The last games in the other group are tomorrow with Nadal, who has already qualified, playing David Ferrer and Andy Murray and Stan Wawrinka battling for the other semi-final spot.