After Hearts won the Scottish Cup, St Johnstone also qualified for the Europa League, entering the competition in the second qualifying round.[16] Initially there was confusion about who their opponents would be, because of an appeal to CAS by Turkish club, Besiktas, who had been banned from this season's European competition by UEFA.[17] Turkish club, Eskisehirspor were, however, confirmed as opponents of St Johnstone with the first leg to be played in Turkey on 19 July and the second leg at home at McDiarmid Park, Perth on 26 July 2012.[18]