Birmingham City beat Portuguese side Nacional 3-0 to book their place in the Europa League group stage.
After drawing 0-0 away last week, the Blues took the lead after 15 minutes with Nathan Redmond's 25-yard strike.
Chris Hughton's side doubled their lead ten minutes later when David Murphy nodded home from a corner.
Their passage into Friday's draw was sealed when Chris Wood slotted home four minutes from time in what was the Championship side's first European home game in nearly 50 years.