 He later moved to Constantinople during the reign of the emperor Anastasius—on the question whether Anastasius I (491-518) or Anastasius II (713-716) is meant, the renowned Byzantinologist Prof. Karl Krumbacher favours the earlier date.There he served as sacristan in the "Great Church" (Hagia Sophia), residing to the end of his life at the Monastery of Kyros, where he was buried along with his disciple St. Ananias.If those scholars who believe that he lived during the reign of the earlier Anastasius are correct, then he may have continued writing during the reign of Emperor Justinian (527-65), who was himself a hymn-writer; this would make him a contemporary of two other famous Byzantine hymnographers, Anastasios and Kyriakos.