Ferguson led Aberdeen to even greater success the following season, 1982–83. They had qualified for the European Cup Winners' Cup as a result of winning the Scottish Cup the previous season, and impressively knocked out Bayern Munich, who had beaten Tottenham Hotspur 4–1 in the previous round. According to Willie Miller, this gave them the confidence to believe that they could go on to win the competition, which they did, with a 2–1 victory over Real Madrid in the final on 11 May 1983. Aberdeen became only the third Scottish team to win a European trophy and Ferguson now felt that "he'd done something worthwhile with his life". This was followed up with victory in the European Super Cup in December 1983, when Hamburger SV, the reigning European Cup champions, were beaten 2–0 over two legs. Aberdeen had also performed well in the league that season, and retained the Scottish Cup with a 1–0 victory over Rangers, but Ferguson was not happy with his team's play in that match and upset the players by describing theirs as a "disgraceful performance" in a televised interview after the match, a statement he later retracted.After a sub-standard start to the 1983–84 season, Aberdeen's form improved and the team won the Scottish league and retained the Scottish Cup. Ferguson was appointed an Officer of the Order of the British Empire (OBE) in the 1985 New Year Honours, and was offered the managers' jobs at Rangers and Arsenal during the season. Aberdeen retained their league title in the 1984–85 season, but had a disappointing season in 1985–86, finishing fourth in the league, although they did win both domestic cups. Ferguson had been appointed to the club's board of directors early in 1986, but that April he told Dick Donald, their chairman, that he intended to leave that summer.Ferguson had been part of coaching staff for the Scottish national side during qualifying for the 1986 World Cup, but manager Jock Stein had collapsed and died on 10 September 1985 – at the end of the game in which Scotland qualified from their group for a play-off against Australia. Ferguson promptly agreed to take charge of the Scottish national side against the Australians and subsequently at the World Cup. To allow him to fulfil his international duties he appointed Archie Knox as his co-manager at Aberdeen. However, after Scotland failed to progress past the group stages of the World Cup, Ferguson stepped down as national team manager on 15 June 1986.Around this time, Tottenham Hotspur offered Ferguson the chance to take over from Peter Shreeves as manager, but he rejected this offer and the job went to Luton Town's David Pleat instead. There was also an offer for Ferguson to replace Don Howe as Arsenal manager, but he rejected this offer as well, and fellow Scot George Graham took the post instead. That summer, there had been speculation that he would take over from Ron Atkinson at Manchester United, who had slumped to fourth in the English top flight after a ten-match winning start had made title glory seem inevitable.It was not the first time that Ferguson had been linked with a move to England. In February 1982, Wolverhampton Wanderers had approached him about succeeding John Barnwell as manager as they were heading for relegation from the First Division. He rejected this offer, perhaps concerned about the club's financial stability, as they were more than £2 million in debt at the time and narrowly avoided going out of business. At the end of the 1984–85 season, it was reported that Ferguson was being considered for the Liverpool manager's job after the retirement of Joe Fagan was announced, but the job was quickly accepted by Liverpool striker Kenny Dalglish.Although Ferguson remained at Aberdeen over the summer, he did eventually join Manchester United when Atkinson was sacked in November 1986.

Question: What team was knocked out in he European Cup?
Answer: Bayern Munich