As one of Leo VI's first actions after his succession, the remains of Michael III were reburied, with great ceremony, in the imperial mausoleum within the
Church of the Holy Apostles. This contributed to the suspicion that Leo was (or at least believed himself to be) in truth Michael's son. and the eunuch
Samonas, an Arab defector whom Leo raised to the rank of
patrikios and who stood in as
godfather to Leo's son,
Constantine VII. His attempts to control the great aristocratic families (e.g., the
Phokadai and the
Doukai) occasionally led to serious conflicts, the most significant being the revolt of
Andronikos Doukas in 906. Leo also attempted to involve himself in the church through his arbitrary interference with the patriarchate. Using his former tutor
Patriarch Photios's excommunication by
Pope John VIII as an excuse, Leo dismissed him and replaced him with his own 19-year-old brother
Stephen in December 886. Leo then promoted his own Imperial secretary (
mystikos)
Nicholas, but suspicions that he was involved in the failed assassination attempt against Leo in 903 as well as his opposition to Leo's fourth marriage saw Nicholas replaced with Leo's spiritual father
Euthymios in 907. after the relics of St. Lazaros were transported from
Crete to Constantinople. The church is one of the best examples of
Byzantine architecture. Leo also completed work on the
Basilika, the
Greek translation and update of the
law code issued by
Justinian I, which had been started during the reign of Basil. Bishop
Liutprand of Cremona gives an account similar to those about
Caliph Harun al-Rashid, to the effect that Leo would sometimes disguise himself and go about Constantinople looking for injustice or corruption. According to one story, three separate patrols of city guards stopped him as a suspicious character during one of his investigations. The first two let him pass in exchange for bribes of 12
nomismata apiece, but the third arrested him. A terrified jailer recognized and released Leo the next morning. The emperor rewarded the arresting officer for doing his duty, while the other patrols were dismissed and punished severely. ==Foreign policy==