He was deposed by President Musharraf in coup in 1999 .