مؤتمر الجزيرة الخضراء
The United Kingdom recognized France's "sphere of influence" in Morocco in the 1904 Entente Cordiale, provoking a German reaction. The First Moroccan Crisis of 1905-1906 was resolved at the Algeciras Conference in 1906. The Treaty of Algeciras formalized France's preeminence among European powers in Morocco, and gave France a number of colonial privileges: control over duties at Moroccan ports, a contract to develop the ports of Casablanca and Asfi, and joint control with Spain over policing in Morocco.