Turkey's Galatasaray was paired with Russia's Lokomotiv Moscow, Portugal's Porto and Germany's Schalke in UEFA Champions League Group D.
The draw was held in Grimaldi Forum in Monaco on Thursday.
The first matches will be played on Sep. 18-19, the final matches of the group schedule will be played on Dec. 11-12.
Here are all the draws:
Real Madrid's captain Sergio Ramos was awarded with the UEFA Champions League 2017/2018 Defender of the Season.
Real Madrid's Luka Modric was awarded with the UEFA Champions League 2017/2018 Midfielder of the Season.
Cristiano Ronaldo was awarded with the UEFA Champions League 2017/2018 Forward of the Season.