After years of service, he was appointed chief of Military Intelligence in early 2017, and in October next year was made the ISI chief. However, his stint as the top intelligence officer turned out to be the shortest ever, as he was replaced by Lt-Gen Faiz Hamid within eight months, on the insistence of then Prime Minister Imran Khan.