The Treaty of Zamora (1143) recognized Portuguese independence from the Kingdom of León. Based on the terms of the accord, King Alfonso VII of León and Castille recognized the Kingdom of Portugal in the presence of his cousin King Afonso I of Portugal, witnessed by the papal representative, Cardinal Guido de Vico, at the Cathedral of Zamora. Both kings promised durable peace between their kingdoms. By this treaty Portugal also recognized the suzerainty of the pope.
This treaty came as of a result of the Battle of Valdevez.