The Arab Al-Mughamis tribe established control over Basra in the early fifteenth century, however, they quickly fell under influence of the Kara Koyunlu and Ak Koyunlu, successively. The Al-Mughamis' control of Basra had become nominal by 1436; "de facto" control of Basra from 1436 to 1508 was in the hands of the Moshasha. In the latter year, during the reign of King ("Shah") Ismail I (1501–1524), the first Safavid ruler, Basra and the Moshasha became part of the Safavid Empire. This was the first time Basra had come under Safavid suzerainty. In 1524, following Ismail I's death, the local ruling dynasty of Basra, the Al-Mughamis, resumed effective control over the city. Twelve years later, in 1536, during the Ottoman-Safavid War of 1532-1555, the Bedouin ruler of Basra, Rashid ibn Mughamis, acknowledged Suleiman the Magnificent as his suzerain who in turn confirmed him as governor of Basra. The Arab provinces of the Ottoman Empire exercised a great deal of independence, and they even often raised their own troops. Though Basra had submitted to the Ottomans, the Ottoman hold over Basra was tenuous at the time. This changed a decade later; in 1546, following a tribal struggle involving the Moshasha and the local ruler of Zakiya (near Basra), the Ottomans sent a force to Basra. This resulted in tighter (but still, nominal) Ottoman control over Basra.