The Sultan divided them into three groups: one group were forced to leave Trebizond and resettle in Constantinople; the next group became slaves either of the Sultan or of his dignitaries; and the last group were left to live in the countryside surrounding Trebizond, but not within its walls. Some 800 male children became recruits for his Janissaries, the elite Ottoman military unit, which required them to convert to Islam.[3]