In the 5th century, the church is mentioned in the Ecclesiastical History of Socrates of Constantinople, written, which treats of an incident in the preceding century: the city's bishop, Macedonius I of Constantinople angered the ruling augustusConstantius II by moving the sarcophagus of his father Constantine out of its place in the Mausoleum of Constantine at the Church of the Holy Apostles and into the Church of St Acacius. The later Ecumenical Patriarch of Constantinople, John Chrysostom, is known to have preached two sermons in the church whose texts survive in the Clavis Patrum Graecorum, entitled In illud Quia quod stultum est dei, which was apparently preached "in the church of Acacius the martyr", and In martres omnes, whose original setting was "in the temple of the holy Acacius". According to Socrates, the augustusArcadius visited a chapel dedicated to Saint Acacius where a walnut tree stood, on which the martyr was supposed to have been hanged. It is not clear whether this "chapel" is the same as the Church of St Acacius Socrates refers to elsewhere. In Socrates's account, when the emperor visited the building unexpectedly collapsed, but since the crowds gathered outside to meet him in the courtyard where the tree grew, no-one was harmed. According to the Syriac Breviary, whose manuscript dates from 411 and whose text was composed at Nicomedia, the Saint Acacius in question was martyred at Nicomedia. The Martyrologium Hieronymianum dating to and purportedly, but pseudepigraphically, written by Jerome, states that he was martyred at Constantinople. A Greek passio about Acacius also places his martyrdom by beheading and his burial at Constantinople. According to David Woods, the martyrdom of Acacius probably took place at Nicomedia on 10 May 305, but this person had nothing to do with the foundation of the Church of St Acacius at Constantinople. Rather, Woods argues that someone named Acacius had sponsored the building of the church, which subsequently bore his name and was then conflated with the martyr. Woods identifies the comes Acacius, a confidant of Constantine and a Christian, as the most likely candidate. This Acacius's existence is recorded by Eusebius of Caesarea's Vita Constantini, a posthumous biography of Constantine, and possibly by the Codex Theodosianus, a collection of laws and rescripts compiled in the reign of Theodosius II. The Vita Constantinipreserves a letter purportedly written by Constantine to Acacius, addressing him as "most distinguished count and friend" and despatching him to Mamre in Palestine to replace the existing places of worship there with a Christian building. The Codex Theodosianus mentions one Acacius as holding the office of comes Macedoniae in 327. Because nothing is known about this official's death, it may be that he was executed in the purge of Constantine's family members and allies after the emperor's death in 337; Woods proposes that he may have been the Acacius hanged from the walnut tree later inspected by Arcadius.