In this role, praetorian prefects continued to be appointed by the Eastern Roman Empire (and the Ostrogothic Kingdom) until the reign of Heraclius in the 7th century AD, when wide-ranging reforms reduced their power and converted them to mere overseers of provincial administration.