Justinian was appointed consul in 521 and later commander of the army of the east. Upon Justin's death on 1 August 527, Justinian became the sole sovereign.