Rangers will take on Braga in the Europa League quarter-finals after Friday afternoon's draw.
Giovanni van Bronckhorst's men ensured safe passage to the last eight by seeing off Red Star Belgrade on Thursday night and have been rewarded with a tie against Portuguese opposition.
Win that, with the second leg set to be played at Ibrox, and they will then face one of RB Leipzig or Atalanta.
It means the Ibrox side will avoid La Liga giants Barcelona as well as a potential Battle of Britain against West Ham United until the Final, should they get there.
The Hammers were paired up with Lyon after their dramatic extra time victory over six-time winners Sevilla.
The winners of that one play either Barca or Eintracht Frankfurt.
The quarter-finals will be played on April 7 and 14, with the semis pencilled in for April 28 and May 5.
Draw in full
Quarter-finals
RB Leipzig vs Atalanta
West Ham United vs Lyon
Eintracht Frankfurt vs Barcelona
Braga vs Rangers
Semi-finals
RB Leipzig or Atalanta vs Braga or Rangers
West Ham United or Lyon vs Eintracht Frankfurt or Barcelona