 Andronikos next appears, along with his brother Alexios, in the course of Manuel I's attempts to settle the dynastic succession in the Kingdom of Hungary in his favour after the death of King Géza II in 1161.Manuel supported his brothers, Ladislaus II and later Stephen IV, as his successors; both had spent time at the Byzantine court as exiles, and Stephen IV had even married Manuel's niece Maria Komnene (who was also the first cousin of the Kontostephanoi brothers).This was opposed by Géza's eldest son, Stephen III, who in 1162 expelled Stephen IV from the country.