Answer:
He briefly served as director of the Federal Security Service (FSB) and secretary of the Security Council, before being appointed as prime minister in August 1999. After the resignation of Yeltsin, Putin became acting president and, less than four months later, was elected outright to his first term as president.