Rangers progressed to the knockout stages of the Europa League after a 3-2 win over Real Betis.
Abdallah Sima and Cyriel Dessers scored for the visitors with Juan Miranda and Ayoze Perez replying for the La Liga side.
Substitute Kemar Roofe scored the winner with 12 minutes remaining to ensure Rangers topped Group C.
Aberdeen ended their UEFA Europa Conference League campaign with a 2-0 victory over Eintracht Frankfurt at Pittodrie.
Duk opened the scoring before Ester Sokler fired in a fine second to seal three points for the Dons.
Rangers and Aberdeen face each other in Sunday’s Viaplay Cup Final at Hampden.