 The disagreements generated with the governor Moulay Zayam, who refused to pay tribute to Manuel I of Portugal and prepared an army to defend itself, caused King Manuel to send a fleet to that city on 15 August 1513.On 1 September the Portuguese army, led by James, Duke of Braganza, took the city without resistance.Prior to his voyage of circumnavigation, Ferdinand Magellan fought in this battle, where he received a severe knee wound.