sentences:  He disembarked on his return to Portugal in Oporto, and then went to Estremoz to meet the Portuguese king, but shortly after his arrival he had to hide in a tower for several days, because, according to the provisions of the Treaty of Alcoutim signed in 1371 after the First Fernandine War, all the supporters of Peter I of Castile were to be expelled from Portugal.It was during his stay in Estremoz, according to the later chronicler Fernão Lopes, that a love affair began between Juan Fernández de Andeiro and Leonor, although the sources used by the chronicler for this assertion are unknown.From 1381 to 1383, Andeiro was one of the closest advisors of Ferdinand I and Leonor.