Barcelona did not get an easy pass either, as they were drawn against Juventus, Olympiakos, Sporting CP in Group D.
Manchester United received a simpler task after being draw with Benfica, FC Basel and CSKA Moscow in Group A, while Manchester City will face Shakhtar Donetsk, Napoli and Feyenoord in in Group F.
Teams were drawn into eight groups of four. Clubs from the same national association — as well as Russian and Ukrainian clubs — could not be drawn together.
Group A: Benfica, Manchester United, FC Basel, CSKA Moscow.
Group B: Bayern Munich, Paris Saint-Germain, Anderlecht, Celtic.
Group C: Chelsea, Atletico Madrid, Roma, FK Qarabag.
Group D: Juventus, Barcelona, Olympiakos, Sporting CP.
Group E: Spartak Moscow, Sevilla, Liverpool, NK Maribor.
Group F: Shakhtar Donetsk, Manchester City, Napoli, Feyenoord.
Group G: Monaco, FC Porto, Besiktas, RB Leipzig.
Group H: Real Madrid, Borussia Dortmund, Tottenham, APOEL Nicosia.
The first group games will be played on Sept. 12-13.