Between 2002 and 2004, serious tension arose between Turkmenistan and Uzbekistan because of bilateral disputes and Niyazov's implication that Uzbekistan had a role in the 2002 assassination attempt. In 2004, a series of bilateral treaties restored friendly relations. In the parliamentary elections of December 2004 and January 2005, only Niyazov's party was represented, and no international monitors participated. In 2005, Niyazov exercised his dictatorial power by closing all hospitals outside Ashgabat and all rural libraries. The year 2006 saw intensification of the trends of arbitrary policy changes, shuffling of top officials, diminishing economic output outside the oil and gas sector, and isolation from regional and world organizations. China was among a very few nations to whom Turkmenistan made significant overtures. The sudden death of Niyazov at the end of 2006 left a complete vacuum of power, as his cult of personality, comparable to the one of eternal president Kim Il-sung of North Korea, had precluded the naming of a successor. Deputy Prime Minister Gurbanguly Berdimuhamedow, who was named interim head of government, won the special presidential election held in early February 2007. His appointment as interim president and subsequent run for president violated the constitution. Berdimuhamedow was re-elected in 2012 with 97% of the vote. In the 2017 Turkmenistan presidential election Berdimuhamedow was re-elected with 97.27% of the vote, following a tightly controlled and largely ceremonial election.