context: At the time of Emperor Anastasia's death in 518, Justinus was an officer on one of the emperor's palace arches. [5] Anastasius had not appointed a successor, even though he had three nephews. The chronicler Joannes Malalas tells how Justinus I became emperor. The dignified eunuch Amantius, who himself could not have become emperor, tried to gain support for his own candidacy. Amantius gave Justinus money to bribe the soldiers of the guard. Justinus gave the soldiers a gift, but not for Amantius but for himself.
question: Who was in power before Justinian I?
answers.text: Anastasius