 His political career began as an advisor to Minister of Justice Märt Rask from 1999 to 2002.He was Mayor of Haabersti district of Tallinn 2004–2005 and advisor to the Minister of Population Affairs Paul-Eerik Rummo from 2003 to 2004.In 2005, he became an advisor to the Prime Minister and Reform Party Leader Andrus Ansip.