The territorial expansion accelerated towards Baghdad, deeper into the Caucasus and the Ottoman empire, but the arrival of Selim I at the head of the Ottoman empire, which forbade the Shia religion, and the battle of Chaldiran (August 22, 1514), marked a stopping point. The Safavid army, unfamiliar with firearms, suffered a painful defeat. Selim I entered Tabriz—from which he withdrew several months later because of internal quarrels—and annexed a large part of the Safavid territory. Shah Ismail, whose divine ascendance had been definitely set aside, withdrew from political life, while relations with the Qizilbash Turkmen deteriorated. The settlement of the Portuguese at the Strait of Hormuz sparked a flourishing commerce with Europe.