They finally ended a 31-year wait for a second European Cup in 1999 when stoppage-time goals from Teddy Sheringham and Ole Gunnar Solskjær gave them a 2–1 win over Bayern Munich in the final in Barcelona. In 2003–04, United were beaten by Porto in the last 16 of the Champions League, ending a seven-year run of quarter-final appearances in the competitions, which also included one run to the final and a further two to the semi-finals.