 Shahi had a long career as a Pakistani diplomat, beginning in 1951.He served as Pakistan's ambassador to the United Nations, and China and also served in many other positions.He opted for the Foreign Service of Pakistan in 1951 and played a prominent role in formulation of foreign policy right from the early years of Pakistan's creation.