General elections were held in Denmark on 8 February 2005. Prime Minister Anders Fogh Rasmussen's Venstre retained the largest number of seats in parliament. The governing coalition between the Venstre and the Conservative People's Party remained intact, with the Danish People's Party providing the parliamentary support needed for the minority government. The Danish Social Liberal Party made the biggest gains of any party, although it remains outside the governing group of parties. The election marked the second time in a row that the Social Democrats were not the largest party in the parliament, a change from most of the 20th century. The party lost 5 seats and leader Mogens Lykketoft resigned immediately after the election.