By the last quarter of the 14th century, the Ag Qoyunlu Sunni Oghuz Turkic tribe took over Armenia, including Shirak. In 1400, Timur invaded Armenia and Georgia, and captured more than 60,000 of the survived local people as slaves. Many districts including Shirak were depopulated. In 1410, Armenia fell under the control of the Kara Koyunlu Shia Oghuz Turkic tribe. According to the Armenian historian Thomas of Metsoph, although the Kara Koyunlu levied heavy taxes against the Armenians, the early years of their rule were relatively peaceful and some reconstruction of towns took place.