There is no consensus on when the Armenians became a minority in the Arax Valley, in the Yerevan Khanate or in the city of Yerevan. Some historians assert that despite numerous devastations, particularly during the wars between the Byzantines and the Seljuks, the Arax Valley continued to have an Armenian majority well into the fourteenth century and that it was only after the campaigns of Timur that the area lost its Armenian majority and was settled by the Ak-Koyunlu and Kara-Koyunlu Turkmen tribal confederations. 1