Treaty of Elvas
The Treaty of Elvas () was a peace treaty between the Kingdom of Portugal and Crown of Castile, which ended the Portuguese-Castilian War of 1381-1382. It was signed by King Fernando I of Portugal and King John I of Castile on 10 August 1382 in the Portuguese city of Elvas after the Portuguese defeat. The terms of the treaty were as follows: The treaty was negotiated by the Portuguese queen Leonor Teles, Count of Ourém, the Galician Juan de Andeiro, Bishop of Lisbon, the Castilian Martinho de Zamora, Bishop of Coimbra, the Castilian Juan Cabeza de  Vaca, Bishop of Guarda, the Portuguese Afonso Correa, lawyer João das Regras and others. Pedro de Luna (future antipope Benedict XIII), an envoy of Avignon antipope Clement VII, served as mediator between the Portuguese and Castilian parties. The Treaty of Elvas was a separate peace treaty concluded behind the backs of Portugal's English allies. It removed Portugal from the Hundred Years' War for a time. As a chronicler recalls, learning of the betrayal of the Portuguese, the English knights angrily put down their helmets and smashed them with axes. On 1 September 1382 Edmund, earl of Cambridge, took his  ships and left Lisbon with his army. On 2 April 1383 the Treaty was supplemented and clarified in the Treaty of Salvaterra, according to which Beatrice had to marry John I of Castile.