Parliamentary elections were held in Slovenia on 13 July 2014 to elect the 90 deputies of the National Assembly. The early election, less than three years after the previous one, was called following the resignation of Alenka Bratušek's government in May. Seventeen parties participated, including seven new parties, some of which formed only months before the election took place. Party of Miro Cerar (SMC), a new party led by lawyer and professor Miro Cerar, won the election with over 34% of the vote and 36 seats. Seven political parties won seats in the National Assembly. Three political parties left the Assembly, including Zoran Janković's Positive Slovenia, the winner of the 2011 election. A leftist United Left party entered the Assembly for the first time, winning six seats. Background After the previous elections in 2011, a right-leaning five-party coalition government was formed, composed of the Slovenian Democratic Party (SDS), Civic List (DL), Democratic Party of Pensioners of Slovenia (DeSUS), Slovenian People's Party (SLS), and New Slovenia (NSi.) Janez Janša, the president of the SDS, became Prime Minister. Janša's government collapsed on 27 February 2013 after he was accused of corruption. Janša was later sentenced to 2 years in prison, and fined €37,000. A new government was formed by Positive Slovenia (PS), the Social Democrats (SD), DL, and DeSUS. PS leader Alenka Bratušek became Prime Minister. On 25 April 2014, congress of Pozitivna Slovenija was held in Brdo pri Kranju. The main agenda was the election of the next president of the party. Two candidates applied for the post: previous president Zoran Janković and the incumbent Alenka Bratušek. Coalition parties SD, DL and DeSUS threatened to leave the government if Jankovič were elected. Janković was indeed elected, triggering Bratušek's formal resignation as the PM on 5 May. On 1 June 2014 president of Slovenia Borut Pahor announced the dissolution of the Assembly on 2 June and that the election would take place on 13 July. Pahor's decision to call the election during a summer month triggered some opposition from civil initiatives, however, the Constitutional Court of Slovenia backed the election date. Several new political parties entered the election, including Party of Miro Cerar (SMC) which was formally established on 2 June, and Alliance of Alenka Bratušek (ZaAB), a splinter party from Positive Slovenia, that was established on 31 May. United Left, Verjamem, and the Pirate Party took place for the first time