The Battle of Hamadan or Alma Bulaghı in 1503 was a conflict between the Safavid Empire, led by Shah Ismail I and the Aq Qoyunlu, commanded by Güzel Ahmad. The battle occurred near the city of Hamadan in Western Persia. Shah Ismail's forces, consisting primarily of Qizilbash warriors, effectively employed superior tactics and firearms to defeat the Aq Qoyunlu cavalry. This decisive victory solidified Safavid control over western Persia and marked a critical step in the establishment of the Safavid Empire. Alwand Mirza fled the battlefield, leading to a further decline of Aq Qoyunlu power in the region.