Although stone tools have been found at many archaeological sites, little is known about the UAE’s early inhabitants as only a few settlements have been found.[27] Many ancient towns in the area were trading centres between the Eastern and Western worlds. The remnants of an ancient mangrove swamp, dated at 7000 BC, were discovered during the construction of sewer lines near Dubai Internet City. The area was covered with sand about 5,000 years ago as the coast retreated inland, becoming part of the city’s present coastline.[27][28] Pre-Islamic ceramics have been found from the 3rd and 4th centuries.[29] Prior to the introduction of Islam to the area, the people in this region worshiped Bajir (or Bajar).[29] After the spread of Islam in the region, the Umayyad Caliph of the eastern Islamic world invaded south-east Arabia and drove out the Sassanians. Excavations by the Dubai Museum in the region of Al-Jumayra (Jumeirah) found several artefacts from the Umayyad period.[30]
The earliest recorded mention of Dubai is in 1095 in the Book of Geography by the Andalusian-Arab geographer Abu Abdullah al-Bakri.[citation needed] The Venetian pearl merchant Gasparo Balbi visited the area in 1580 and mentioned Dubai (Dibei) for its pearling industry.[30]
Dubai is thought to have been established as a fishing village in the early 18th century[31] and was, by 1822, a town of some 7–800 members of the Baniyas tribe and subject to the rule of Sheikh Tahnoon of Abu Dhabi.[32]
In 1833, following tribal feuding, members of the Al Bu Falasa tribe seceded from Abu Dhabi and established themselves in Dubai. The exodus from Abu Dhabi was led by Ubaid bin Saeed and Maktum bin Butti who became joint leaders of Dubai until Ubaid died in 1836, leaving Maktum to establish the Maktoum dynasty.[31]
Dubai signed the first treaty of Perpetual Maritime Truce in 1820 along with other Trucial States, which was followed by a further treaty in 1853. It also – like its neighbours on the Trucial Coast – entered into an exclusivity agreement in which the United Kingdom took responsibility for the emirate’s security in 1892.
Two catastrophes struck the town during the 1800s. First, in 1841, a smallpox epidemic broke out in the Bur Dubai locality, forcing residents to relocate east to Deira. Then, in 1894, fire swept through Deira, burning down most homes.[33] However, the town’s geographical location continued to attract traders and merchants from around the region. The emir of Dubai was keen to attract foreign traders and lowered trade tax brackets, which lured traders away from Sharjah and Bandar Lengeh, the region’s main trade hubs at the time. Persianmerchants naturally looked across to the Arab shore of the Persian Gulf finally making their homes in Dubai. They continued to trade with Lingah, however, as do many of the dhows in Dubai Creek today, and they named their district Bastakiya, after the Bastak region in southern Persia.