Complex sentence: On Manuel II's return John VII returned power to him and until the end of his life in 1408 he was provincial governor of Thessalonica.
Split into simpler sentences: On Manuel II's return John VII returned power to him. Until the end of his life in 1408, John was the provincial governor of Thessalonica.