Italian side Roma failed to reach the Champions League group stage after having two men sent off in a 3-0 second-leg defeat by Porto.
Roma were the favourites after drawing 1-1 in Portugal, but went behind when Felipe gave the visitors an early lead.
They imploded as Daniele de Rossi and Emerson Palmieri were shown straight red cards either side of half-time.
Miguel Layun slotted in Porto’s second, before Jesus Corona turned his marker to add the third moments later.
Roma are the third Serie A team in successive years to lose in the play-off round, leaving Juventus and Napoli to represent Italy in Thursday’s group-stage draw.
Elsewhere, Celtic survived a scare from Israeli side Hapoel Beer Sheva, qualifying 5-4 on aggregate to reach the group stage for the first time in three seasons.
Monaco also beat Villarreal 1-0 as a late penalty by Fabinho sealed a 3-1 aggregate win.