former Prime Minister Anton Rop, left their party and joined the Social Democrats. Following these developments, the Social Democrats became the second largest parliamentary party in Slovenia, after the Slovenian Democratic Party. In 2008, the Social Democrats signed a coalition agreement with the extra-parliamentary Christian Socialists of Slovenia, and decided to set up a common election list on the coming elections. In September 2008, Social Democrats won the parliamentary election with 30.45%. The ruling Slovenian Democratic Party finished second with 29.26%. Social Democrats formed a new Slovenian government in coalition with Zares, DeSUS and LDS. They won 29 seats in the 90-member National Assembly, one of which was won by Andrej Magajna, the president of the Christian Socialists of Slovenia. In October 2010, Andrej Magajna left the deputy group of Social Democrats due to differences of opinion with the rest of the group. He especially criticised the party leader Borut Pahor and the Minister of Economic Development Mitja Gaspari, claiming that he had been threatened with "removal" for not having supported the new act on the public broadcaster RTV Slovenija. After Magajna's break with the party, the SD parliamentary group was left with 28 MPs. SD won 10.5% of the vote at the early 2011 Slovenian parliamentary election on 4 December 2011, gaining 10 seats in the National Assembly. SD were therefore in third place behind the SDS and new centre-left party Positive Slovenia (PS). SDS leader Janez Janša became Prime Minister for a second time on 10 February 2012 heading a centre-right coalition government. Lukšič era In June 2012, Pahor unsuccessfully ran for re-election as president of the Social Democrats. He was defeated by Igor Lukšič by a narrow margin. However, on 20 March 2013 Janša's coalition was replaced by a new government headed by PS interim leader Alenka Bratušek, a comprising PS, the Social Democrats, Civic List and DeSUS. Bratušek resigned as Prime Minister on 3 May 2014 seeking an early general election. After the party won only one MEP seat and 8.0% of the vote in 2014 European Parliament election, Lukšič resigned as SD party president on 26 May. The party received 5.95% of the vote in the Slovenian parliamentary election on 13 July 2014, and won 6 seats in parliament. On 18 September 2014, the Social Democrats joined the cabinet of Miro Cerar, also comprising Prime Minister Cerar's Modern Centre Party (SMC) and DeSUS. Židan leadership