In late 2007 Russian President Putin announced that Dmitry Medvedev was his preferred successor. During the presidential election campaign the political youth organizations where active in S:T Petersburg, the city where Medvedev went to university. He also shared the same office as Putin at the city council Smolnyj during his early career. Medvedev was elected president of Russia on 2 March 2008.