The draw for this season’s Europa League group stage was conducted on Friday.
Liverpool find themselves in Group E alongside Toulouse, Union SG and LASK Linz.
Brighton & Hove Albion have been drawn against Ajax and Marseille.
West Ham will take on Olympiacos, Freiburg and Backa Topola in Group A.
Match Day 1 is on September 21.
Europa League group stage draw in full
Group A: West Ham, Olympiacos, Freiburg, TSC Bačka Topola
Group B: Ajax, Marseille, Brighton, AEK Athens
Group C: Rangers, Real Betis, Sparta Prague, Aris Limassol
Group D: Atalanta, Sporting CP, Sturm Graz, Raków Częstochowa
Group E: Liverpool, LASK, Union SG, Toulouse
Group F: Villarreal, Rennes, Maccabi Haifa, Panathinaikos
Group G: AS Roma, Slavia Prague, Sheriff Tiraspol, Servette
Group H: Leverkusen, Qarabag, Molde, Häcken