 His resignation from Secretary of the Council was accepted in January 2005 by President Kuchma.From August 2006, he was an adviser of the SBU head, and in November of that year Prime Minister of Ukraine Viktor Yanukovych named him his adviser.Since 12 January to 25 May 2007 he was the First Vice Prime Minister of Ukraine.