From 1998 to 2004 Bayern were coached by Ottmar Hitzfeld. In Hitzfeld's first season, Bayern won the Bundesliga and came close to winning the Champions League, losing 2–1 to Manchester United in injury time after leading for most of the match. The 1999–2000 season resulted in Bayern winning their third league and cup double. A third consecutive Bundesliga title followed in 2001, won in a finish on the final day of the league season. Days later, Bayern won the Champions League for the fourth time after a 25 year gap, defeating Valencia CF on penalties. The 2001–02 season began with a win in the International Cup, but ended trophyless otherwise. A season later Bayern won their fourth double, leading the league by a record margin. Hitzfeld's reign ended in 2004, with Bayern underperforming, including a cup defeat by second division Alemannia Aachen.