the population of erzurum was mainly armenian when the seljuqs were defeated