 Hearts' best showing in European competition was in the 1988–89 UEFA Cup, where they reached the quarter–finals and narrowly lost 2–1 on aggregate to German giants Bayern Munich.Since then, Hearts became both the first–ever Scottish club and the first–ever British club to reach the new group stage format of the 2004–05 UEFA Cup (now the UEFA Europa League).They also qualified for the 2006–07 UEFA Champions League, becoming the first non Old Firm team in Scotland to do so since the tournament changed from the European Cup to the Champions League.