Liverpool participated in the 1980–81 European Cup as English league champions, defeating Finnish champions Oulun Palloseura, Scottish club Aberdeen and CSKA Sofia of Bulgaria to qualify for the semi-finals, where they faced three-time champions Bayern Munich. The first leg at Anfield finished goalless. In the second leg at the Olympiastadion in Munich, Ray Kennedy scored in the 83rd minute and, although the German side equalised, Liverpool went through to the final on the away goals rule. They faced Spanish side Real Madrid in the final, held at the Parc des Princes in Paris. Alan Kennedy scored the only goal to give Liverpool a 1–0 victory, which secured the club's—and Paisley's—third European Cup. As champions of Europe, Liverpool competed in the Intercontinental Cup against South American champions Flamengo of Brazil. Liverpool lost the match 3–0. The club's defence of the European Cup in 1981–82 was ended by CSKA Sofia in the quarter-finals. Another quarter-final exit occurred in the 1982–83 European Cup when Polish club Widzew Łódź eliminated Liverpool 4–3 on aggregate. Paisley retired as manager at the end of the season and was succeeded by his assistant, Joe Fagan.