Toward the close of the Fifth Century, Yezdegerd II., the king of Persia, "attempted, with the intention of assimilating Armenia entirely, to convert her by force to Zoroastrianism. The Armenians, led by Vartan Mamigonian, Catholicos Hovsep, and the entire clergy, revolted with one accord. Yezdegerd hurled upon Armenia a formidable army, in order to crush the Armenian resistance. Vartan and his seventy thousand companions in arms faced the enormous Persian hosts in the memorable battle of Avarair. Vartan fell in the struggle, his troops were scattered, and Armenia found herself at the mercy of the ferocious Persian soldiers. But spirit triumphed over brute force; the entire people, entrenched in the fortresses and in the passes of the Armenian mountains, continued an incessant guerilla warfare. The women, children, and even the aged sought refuge in the forests, in the caves, and in the mountains, prefering a wild existence to the abjuration of their national religion. The Armenian soul maintained its vitality in the midst of ruins and corpses. Vahan Mamigonian continued valiantly the work of his uncle. Persia, tired of the war, terminated it, deciding to allow the Armenians the retention of their religious and national institutions, and appointing Vahan governor of Armenia."