After the military takeover of the civilian government in 1999, Maj-Gen Ehsan was appointed as the Director-General of the Military Intelligence (DGMI) and took the command of the MI from then Maj-Gen Jamshed Gulzar Kiani, remaining in this position until April 2001.