The history of Ottoman–Safavid relations (Persian: روابط عثمانی و صفوی) started with the establishment of the Safavid dynasty in Persia in the early 16th century.
[2] In the early 18th century, Persian–Ottoman peace negotiations introduced a new concept of inter-Muslim relations whereby sovereign states could co-exist as autonomous parts of the Islamic world community.
Religious scholars and officials in the Ottoman Empire quickly labeled Shah Ismail, and by extension his followers, a threat to Islam for the teachings they saw as heretical.
[5] The severity with which Selim I addressed the Safavid Empire reflected the threat that he felt emerging within the Ottoman borders.
In 1507, Ismail I raided Anatolia, revealing the beginnings of the threat that the newly emerging Safavid Empire represented.