Oman's Imam Sultan, defeated ruler of Muscat, was granted sovereignty over Gwadar, an area of modern-day Pakistan. Gwadar was a part of Oman from 1783 to 1958 . This coastal city is located in the Makran region of what is now the far southwestern corner of Pakistan, near the present-day border of Iran, at the mouth of the Gulf of Oman. After regaining control of Muscat, this sovereignty was continued via an appointed ''wali'' ("governor"). Currently, Gwadar's residence speak Urdu and Balochi with many also knowledgeable in Arabic.