The initial Ottoman–Safavid conflict culminated in the Battle of Chaldiran in 1514, and was followed by a century of border confrontation. In 1639, Safavid Persia and Ottoman Empire signed the Treaty of Zuhab which recognized Iraq in Ottoman control, and decisively parted the Caucasus in two between the two empires.