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.