Werder's league performance stabilized in the following seasons, as they regularly finished in the upper half of the table. In 2003–04, they won the double for the first time, winning both the Bundesliga and the DFB-Pokal, as Bremen became the third club in Bundesliga history to achieve this feat. The team would also regularly qualify for the Champions League during the 2000s. In the last match of the 2005–06 Bundesliga season, Werder won 2–1 at arch-rivals Hamburger SV to qualify for the Champions League as runners-up, instead of Hamburg. Bremen reached the semi-finals of the 2006–07 UEFA Cup, in which they were eliminated by Spanish club RCD Espanyol. In 2008–09, Bremen struggled in their Bundesliga campaign, eventually finishing tenth, their worst league performance in more than a decade. Nevertheless, the club reached the UEFA Cup final, as well as the DFB-Pokal final. Werder lost the UEFA Cup final against Ukrainian team Shakhtar Donetsk; 1–2 after extra time. In the DFB-Pokal final, Bremen fared better, as they defeated Bayer Leverkusen by a scoreline of 1–0. In April and May 2009, Werder had played Hamburg four times in 19 days; once in the Bundesliga, in the semi-final of the DFB-Pokal, and twice in the semi-final of the UEFA Cup. Bremen defeated Hamburg 2–0 in the Bundesliga, and eliminated them from the DFB-Pokal and the UEFA Cup.