If he became prime minister , he would return Russia to the situation in 1999 , when an ailing President Yeltsin appointed him to that office after trying out several others whom he thought he could groom as his successor .