 He was part of various delegations to the United Nations during the 1950s and 1960s and served with A.S. Bokhari (known as Patras Bokhari), Sir Muhammad Zafrulla Khan and Prince Aly Khan (father of Prince Karim Aga Khan and Pakistan's permanent representative to UN).Shahi served as Counselor in the Pakistan Embassy in Washington from 1955–58.He was Pakistan's Deputy Permanent Representative to UN from 1958–61 and later served as Permanent Representative to United Nations from 1967–72.