Mohammed returned to Morocco with a draft Peace and Trade Treaty which was finally not ratified by his king because of outstanding issues regarding the English military presence in Tangiers and English captives in Morocco.[8] The exchanges started 40 years of a shifting Anglo-Moroccan alliance related to European conflicts, trade issues, Barbary Coast pirates and the exchange of captives.[2]