section_path: History/First PSD/CDS coalition government (2002–2005)
section_name: CDS coalition government (2002–2005)
paragraph_text: CDS coalition government (2002–2005)
  
  The PSD made a comeback in 2002, defeating the PS by a 40 to 38 percent margin. Despite falling short of a majority, it won enough seats to form a coalition with the CDS-PP and its leader, José Manuel Durão Barroso, became Prime Minister. During his term, Barroso aligned Portugal with the United Kingdom, the United States and Spain in the support for the 2003 American-led invasion of Iraq, hosting a summit in Lajes Field, which divided public opinion.
  
  In the 2004 European Parliament election, the PSD formed an electoral coalition with CDS-PP, the first since 1980, but was soundly defeated by the PS by 45 to 33 percent margin. A few days after the election, Durão Barroso announced his resignation from the office of Prime Minister in order to become President of the European Commission, leaving the way for Pedro Santana Lopes, by then Mayor of Lisbon and a man with whom he was frequently at odds, to become leader of the party and Prime Minister.