Another government reshuffle took place at the end of 2007, when the MPRP decided to replace its prime minister Miyeegombyn Enkhbold with Sanjaagiin Bayar. MPRP formed a coalition government with the Democratic Party in 2008 also, although the MPRP won the majority being blamed for vote rigging and followed riots. In 2009 Mongolian Presidential election, Democratic Party candidate Tsakhiagiin Elbegdorj defeated MPRP candidate incumbent President Nambaryn Enkhbayar. In January 2012, Democratic Party made a decision to leave the coalition government before upcoming parliamentary elections in June. Following Democratic Party's victory in 2009 Presidential election, in 2012 Parliamentary elections Democratic Party won. In 2012 local elections of the capital city, provinces, districts Mongolian People's Party (former MPRP) was defeated for the first time in the country's history. In 2013 Mongolian Presidential election, Democratic Party candidate incumbent President Tsakhiagiin Elbegdorj won. Thus the Democratic Party stemming from Mongolian Democratic Union-the pro-democracy activists has been on the power of Mongolia's presidency, parliament and government since 2012.