AC Milan will play one of Besiktas or Rio Ave in the Europa League playoffs should they get past Norwegian side Bodo/Glimt.
The Rossoneri eased into the third qualifying round after taking down Shamrock Rovers 2-0 on Thursday night.
Next up for Milan is a home match with Bodo/Glimt on September 24, but things could get tricky after that should they go through.
Rio Ave finished fifth in the Portuguese Primeira Liga last campaign, while Besiktas finished third in the Turkish Super Lig.
Both matches are single-legged with the match against Rio Ave/Besiktas set for October 1.