The internal conflict had weakened the Moroccans in their capability to resist European encroachment, particularly from the Portuguese, but the treaty at last gave some level of stability to the country.[1] The peace allowed the Saadis to challenge the Portuguese possessions in Morocco, and attack the Portuguese in Agadir, leading to the Fall of Agadir in 1541. Following this defeat, the Portuguese soon abandoned their other possessions of Safi and Azemmur, although their managed to retain Mazagan as it was easier to defend.[1]