The Ottoman Empire was predominantly Sunni Muslim, whereas the Safavid Empire established Shia Islam as its state religion. This religious divide led to deep-seated hostility, with the Ottomans viewing the Shia Safavids as heretics. This doctrinal conflict fueled several military confrontations between the two neighboring empires.