Kuwait by Hyspaosines in 127BC. A building inscriptions found in Bahrain indicate that Hyspoasines occupied the islands, (and it also mentions his wife, Thalassia). Islam From the time when Islam emerged in the 7th century until the early 16th century, the name Bahrain referred to the wider historical region of Bahrain stretching from Basrah to the Strait of Hormuz along the Persian Gulf coast. This was Iqlīm al-Baḥrayn, i.e. the Province of Bahrain, and the Arab inhabitants of the province were descendants of the Arab tribe Bani Abd al-Qais. Bahrain embraced Islam in 629 (the seventh year of hijra); the Prophet Mohammed ruled Bahrain through one of his representatives, Al-Ala'a Al-Hadhrami. During the time of Umar I the famous companion of the Prophet, Abu Hurayrah, was the governor of Bahrain. Umar I also appointed Uthman bin Abi Al Aas as governor of the area. Al Khamis Mosque, founded in 692, was one of the earliest mosques built in Bahrain, in the era of Umayyad caliph Umar II. Prior to Islam, Bahrain was a centre of Nestorian Christianity. The expansion of Islam did not affect Bahrain's reliance on trade, and its prosperity continued to be dependent on markets in Mesopotamia. After Baghdad emerged as the seat of the caliph in 750 and the main centre of Islamic civilization, Bahrain greatly benefited from the city's increased demand for foreign goods especially from China and South Asia. Bahrain became a hub for intellectuals for hundreds of years stretching from the early days of Islam in the 6th century to the 18th century. Philosophers of Bahrain were highly esteemed, such as the 13th century mystic, Sheikh Maitham Al Bahrani (died in 1299). The Qarmatian Republic Around the year 900, Abu Sa'id al-Hasan al-Jannabi led the Qarmatian revolution, a rebellion by a messianic Ismaili sect originating in Kufa in present-day Iraq. Al-Jannabi took over the city of Hajr, Bahrain's capital at that time, and al-Hasa, which he made the capital of his republic. Once in control of the state he sought to create a utopian society. The Qarmatians' goal was to build a society based on reason and equality. The state was governed by a council of six with a chief who was a first among equals. All property within the community was distributed evenly among all initiates. The Qarmatians were organized as an esoteric society but not as a secret one; their activities were