Historical Context
Athanasius belonged to the Medikion Monastery, situated near Trigleia (modern Tirilye) in Bithynia in what is now northwestern Turkey. The community was established around 780 by Nikephoros, who restored a ruined church dedicated to Saint Michael and served as its first abbot until his death in 813.
Nikephoros was succeeded as hegoumenos by Saint Nicetas, whom the synaxarion names as Athanasius's companion. Nicetas had entered the monastery young, was ordained presbyter in 790, and later led the community; he was imprisoned twice and exiled for opposing the second period of Iconoclasm under Emperor Leo V (r. 813-820), dying in 824 at a monastery near Constantinople, after which his remains were returned to Medikion.
Athanasius's repose around 814 places his life within this same turbulent era of the monastery's early history and the renewed Iconoclast controversy.