On 9 August 1999, Putin was appointed one of three first deputy prime ministers, and later on that day, was appointed acting prime minister of the Government of the Russian Federation by President Yeltsin.[74] Yeltsin also announced that he wanted to see Putin as his successor. Later on that same day, Putin agreed to run for the presidency.[75]
On 16 August, the State Duma approved his appointment as prime minister with 233 votes in favor (vs. 84 against, 17 abstained),[76] while a simple majority of 226 was required, making him Russia's fifth prime minister in fewer than eighteen months. On his appointment, few expected Putin, virtually unknown to the general public, to last any longer than his predecessors. He was initially regarded as a Yeltsin loyalist; like other prime ministers of Boris Yeltsin, Putin did not choose ministers himself, his cabinet was determined by the presidential administration.[77]
Yeltsin's main opponents and would-be successors were already campaigning to replace the ailing president, and they fought hard to prevent Putin's emergence as a potential successor. Following the Russian apartment bombings and the invasion of Dagestan by mujahideen, including the former KGB agents, based in the Chechen Republic of Ichkeria, Putin's law-and-order image and unrelenting approach to the Second Chechen War soon combined to raise his popularity and allowed him to overtake his rivals.
While not formally associated with any party, Putin pledged his support to the newly formed Unity Party,[78] which won the second largest percentage of the popular vote (23.3%) in the December 1999 Duma elections, and in turn supported Putin.