These elections were called after the decision of President Jorge Sampaio on 30 November 2004 to dissolve the Parliament as an answer to the political instability caused by the government led by Pedro Santana Lopes (PSD) in coalition with the PP. Santana Lopes had become Prime Minister in July 2004, after José Manuel Durão Barroso left the country in order to become President of the European Commission in a decision that divided the country, because many Portuguese were expecting that the Socialist President Jorge Sampaio would dissolve the Parliament and call a legislative election. However, after five unstable months, President Sampaio decided to dissolve Parliament and call fresh elections. The Prime Minister nevertheless announced the resignation of the government on 11 December, in an action with no practical effects whatsoever.