section_path: Party president/2007 parliamentary election
section_name: 2007 parliamentary election
paragraph_text: 2007 parliamentary election
  
  The 2007 parliamentary election turned out to be the closest election since independence with SDP winning 56 seats, only 10 mandates short of HDZ's 66. 5 seats that HDZ had won were from the eleventh district reserved for citizens living abroad, which was one of the main campaign issues of SDP which sought to decrease electoral significance of the so-called diaspora voters. The resulting close race left both sides in a position to form a government, provided they could gather 77 of the 153 representatives. After the election, Sanader seemed to be in a better position to form a cabinet which caused Milanović to make himself the candidate for prime minister over the less popular Ljubo Jurčić, without first consulting the party's Main Committee. However, the Social Democrats remained in the Opposition, since Ivo Sanader managed to form a majority coalition.
  
  After losing the hotly contested general elections, Milanović did not resign as party president, despite promising before the election that he would, should the party lose. In the 2007 election, despite the loss, SDP emerged with the largest parliamentary caucus in their history and achieved their best result yet. Milanović seemed to be in a good position to remain party president and announced he would run for a first full term as party president. In the 2008 leadership election he faced Davorko Vidović and Dragan Kovačević, but emerged as the winner with almost 80 percent of the delegate vote.