John Hagiopolites (Greek: Ἰωάννης Ἁγιοπολίτης) was a senior Byzantine official in the late 9th century.
[1] He played a major role in the deposition of the Patriarch Photios soon after the accession of Basil I's son Leo VI the Wise (r. 886–912) to the throne.
Along with the commander-in-chief Andrew the Scythian, he went to the Hagia Sophia, read the charges brought against Photios from the pulpit, and arrested the patriarch, bringing him to the Harmonianon Monastery, where he was confined pending his trial.
[1][2] A letter to him by Photios, written in September or October 886, survives, where he accuses Hagiopolites of having turned from being a student and friend, to a traitor and executioner.
On the basis of this letter, Hagiopolites has been identified with another John, protospatharios, patrikios, and logothetes tou dromou, who participated in the first five sessions of the Council of 869/70 that anathematized Photios, as the representative of the Byzantine Senate.