The Treaty of Windsor was negotiated by King John I of Portugal and John of Gaunt, the Duke of Lancaster, on behalf of the English king Richard II and remains in force. This makes it the longest-lasting diplomatic treaty in recorded history, and even served as the basis for Portuguese assistance to Britain during the Second World War.