From 2008 to April 2014, he was Minister of Internal Affairs, while also being Prime Minister of Serbia for part of that tenure, from July 2012 until 2014. He also was Acting Prime Minister of Serbia from 31 May 2017 until 29 June 2017.