Until the 18th century, Bombay consisted of seven islands separated by shallow sea. These seven islands were part of a larger archipelago in the Arabian sea, off the western coast of India. The date of city's founding is unclear—historians trace back urban settlement to the late 17th century after the British secured the seven islands from the Portuguese to establish a secure base in the region. The islands provided the British with a sheltered harbour for trade, in addition to a relatively sequestered location that reduced the chances of land-based attacks. Over the next two centuries, the British dominated the region, first securing the archipelago from the Portuguese, and later defeating the Marathas to secure the hinterland. Bombay Presidency was one of the three Presidencies of British India; the other two being Madras Presidency, and Bengal Presidency. It was in the centre-west of the Indian subcontinent on the Arabian Sea. It was bordered to the north-west, north, and north-east by Baluchistan province, Punjab province, and Rajputana Agency; to the east by Central India Agency, the Central Provinces and Berar and Hyderabad State; and to the south by Madras Presidency and Mysore State. The Presidency was established in the late 17th century and named after Bombay, the capital city and the island on which it was built. By 1906, the area under the jurisdiction of Bombay Presidency stretched from North Canara in the south to Sindh in the north, encompassing the now-Pakistani province of Sindh, some parts of the present-day state of Gujarat, northwestern part of Karnataka state, the British Aden protectorate in Yemen, and the western two-thirds of modern-day Maharashtra. During British rule, a Governor was the chief administrative and political officer of Bombay. The executive Government of the Presidency was administered by the Governor. He had the same power and right in the Presidency as the Governor-General of India, and observed the same order and course in their proceedings. Governors of Bombay and Madras Presidencies, who were appointed by the British Crown, were the most important officials after the Viceroy. Bombay Castle was the official residence of the governor of Bombay until the 1770s, when it was moved to Parel; a century later, in 1883, it was moved to Malabar Hill. Abraham Shipman was appointed the first Royal Governor of Bombay in 1662. Beginning in 1668, Charles II leased the islands to the British East India Company—George Oxeden was