Andy Murray will meet Novak Djokovic in the group stages of the Barclays ATP World Tour Finals after the draw was made in London.
Murray, as number three seed, was guaranteed to face either Djokovic or Roger Federer in the round robin stages of the season-ending tournament, which begins at the O2 on Monday.
The US Open champion was will also face fifth seed Tomas Berdych and seventh seed Jo-Wilfried Tsonga in what appears to be the tougher of the two groups.
The top eight players over the season qualify for the tournament, although Rafael Nadal is absent through injury, meaning his Spanish countryman David Ferrer takes over as fourth seed.
Ferrer is in Group B with defending champion Federer, who will lose his world number one ranking to Djokovic on Monday, sixth seed Juan Martin Del Potro and eighth seed Janko Tipsarevic.
Murray defeated Djokovic in the US Open final in a dramatic five-set match and the pair also met in the final of the Shanghai Masters last month, where Djokovic won despite the Brit having five match points.
Murray will be looking to end his season on a high with a first title at the World Tour Finals, a tournament Federer has won a record six times.
The Brit has twice reached the semi-finals, most recently in 2010, when he lost to Nadal.
The tournament is being held at the O2 for the fourth time after moving from Shanghai on a five-year contract in 2009, and there is a prize pot of more than £1million available for an undefeated champion and 1,500 ranking points.