Saparmurat Niyazov, a former official of the Communist Party of the Soviet Union, ruled Turkmenistan from 1985, when he became head of the Communist Party of the Turkmen SSR, until his death in 2006. He retained absolute control over the country as President after the dissolution of the Soviet Union. On 28 December 1999, Niyazov was declared President for Life of Turkmenistan by the Mejlis (parliament), which itself had taken office a week earlier in elections that included only candidates hand-picked by President Niyazov. No opposition candidates were allowed.