He became involved in politics in the 1980s, when he was a Vice Secretary of Legislation in Ante Marković's government. He was then one of the founders of the political party called Social Democracy, and then joined the Social Democratic Party, from which he resigned when he was elected Commissioner for Information of Public Importance in December 2004. He was a Member of the National Assembly and Vice-President of the National Assembly of the Republic of Serbia. From June 19, 2002, he was the Minister of Public Administration and Local Self-Government in the Government of the Republic of Serbia, under Zoran Đinđić and after his assassination under Zoran Živković. He was elected for the second seven-year term as the Commissioner for Information of Public Importance and Personal Data Protection in December 2011. In 2018, his term ended.