Battle of Qarabagh was fought on February 4, 1469 between Aq Qoyunlu under Uzun Hasan and Timurids of Samarkand under Abu Sa'id Mirza resulting in the latter's defeat, imprisonment and execution. After the battle the Timurids forever lost any hopes of gaining Iraq or Iran back into their kingdom.