 He was appointed Foreign Secretary in 2006, and was the National Security Advisor to Prime Minister Dr. Manmohan Singh.He relinquished office as India's 4th National Security Advisor on 15 May 2014.He is also currently a Visiting Professor of International Relations at Ashoka University.