In August 1999, President Yeltsin appointed his FSB Chief Putin as the new Prime Minister. Same day, he named him as the official successor. Yet, there was a problem. To become a president, Putin had to go through elections which he could not win.
He was completely obscure.
How many Western politicians who expressed their condolences for Russia yesterday, did the same as the Russian terrorist state killed dozens of Ukrainians in a shopping mall in Kremenchuk? Putin's calculation with the "ISIS attack" was perfect. The West does not believe it can be attacked by missiles. Therefore no identification with Ukrainian victims. But the West can imagine to be a victim of an Islamist attack. Therefore identification with the Russians. Putin played this card perfectly.