In August 1437, the Portuguese expeditionary force, under the leadership of Henry the Navigator, set out to seize Tangier.
To preserve his army from destruction, Henry the Navigator signed a treaty in October 1437 with the Moroccan commanders.