 Iran was the first country to recognize Pakistan as an independent state, and Shah Mohammad Reza Pahlavi was the first head of any state to come on an official state visit to Pakistan (in March 1950).Since 1947, Muhammad Ali Jinnah, the founder of Pakistan, had successfully advocated a policy of fostering cordial relations with the Muslim world and Iran in particular.In May 1950, a treaty of friendship was signed by Prime Minister Liaquat Ali Khan and Mohammad Reza Pahlavi.