The presidency was an executive post, based on a mixture of the US and French presidencies. Prior to the creation of the post of president, the de jurehead of state of the Soviet Union was the chairman of the Presidium of the Supreme Soviet, who was often called the "president" by non-Soviet sources. For most of the Soviet Union's existence, all effective executive political power was in the hands of the general secretary of the Communist Party of the Soviet Union, with the chairman of the Presidium exercising largely symbolic and figurehead duties. Starting with Leonid Brezhnev in 1977, the last four general secretaries—Brezhnev, Yuri Andropov, Konstantin Chernenko, and Gorbachev—simultaneously served as de jurehead of state during their time in office. The president was initially elected by the Congress of People's Deputies and served as ex officio chairman of that body, but all future elections were to have been by popular vote. The president reported to the Supreme Soviet. On 24 September 1990, Gorbachev persuaded the Supreme Soviet to give him the power to rule by unrestricted decree until 31 March 1992. Another power was the right to declare direct presidential rule in troubled areas and abolish democratic elected bodies if necessary.. During the election of the president several candidates were nominated, among leading contenders were KGB persona Vadim Bakatin and Premier Nikolai Ryzhkov. The vice president of the Soviet Union was Gennady Yanayev, the only person to occupy that office. If the president was killed or unable to be in office, the vice president would become president. He was also the leader of the Gang of Eight which attempted the August coup, and declared himself acting president of the Soviet Union on 19 August 1991. After three days the coup collapsed and Gorbachev was restored. He held the office up to the country's dissolution. The presidents powers were:
Restore citizenship to exiles or internal dissidents.
Could overrule government decisions that violated the constitution or endangered citizens rights and freedoms.
Oath
With his right hand on a red bound copy of the Soviet Constitution, placed on a small table before the Congress, the president-elect took the flowing oath: "I solemnly swear to faithfully serve the peoples of our nations, to strictly observe the Soviet Constitution, to guarantee the rights and freedoms of citizens and to conscientiously fulfill the high responsibilities placed in me as president of the Soviet Union."