During Ismail's reign, mainly in the late 1510's, the first steps for the Habsburg–Persian alliance were set as well, with Charles V and Ludwig II of Hungary being in contact with a view to combining against the common Ottoman Turkish enemy.