 After the fall of Ani to the Byzantines in 1045, the Seljuks occupied most parts of the Armenian Highland by 1064.In the mid 13th century, Armenia became part of the Ilkhanate of the Mongol Empire.By the last quarter of the 14th century, the Aq Qoyunlu Sunni Oghuz Turkic tribe took over Armenia, including Aparan, before being invaded by Timur in 1400.