The annexation of Basra and the opening to the Persian Gulf
During the conquest of Baghdad (1534), the ruler of Basra, Râşid b. Megāmis, had declared his obedience to Süleyman the Lawgiver, and in 1538 he sent the keys of the city. His successor, Sheikh Yahyâ, took a hostile stance toward the Ottomans; the beylerbeyi of Baghdad, Ayas Pasha, marched by land, and the sancak bey of Mosul marched along the Euphrates with 120 ships. Ayas Pasha entered Basra on 26 December 1545, and the city became the seat of a beylerbeylik. This port at the mouth of the Shatt al-Arab was the gate through which the Ottomans opened onto the Gulf, which Portugal controlled from Hormuz; with the Treaty of Amasya in 1555, Iran too recognised this situation.