The Battle of Nakhchivan was fought between Kara Koyunlu under their Bey, Qara Yusuf and the Timurid Empire under the leadership of Timur's grandson Abu Bakr bin Miran Shah for control of Azerbaijan on October 14, 1406. Qara Yusuf decisively defeated the Timurids in this battle and took over Tabriz the capital of Azerbaijan.[citation needed]