 John V retook the throne in 1379 but reached an agreement with Andronikos in 1381, wherein Andronikos was to succeed him as emperor, passing over Manuel.Andronikos died in 1385 and his son, John VII Palaiologos briefly managed to usurp the throne in 1390.Following this, Manuel II was firmly established as John V's successor, becoming senior emperor upon John's death in 1391.