 He started his public career late in life, having lived in seclusion in Liguria, where Ennodius made his acquaintance.Ennodius helped Agapitus obtain a high position at the court of Theodoric the Great in 502, and subsequently was appointed urban prefect of Rome.His Prefecture is mentioned in a legal document from the time of Theodoric.