He died in a military hospital in Rawalpindi, Pakistan, of liver cancer.