Division of Morocco

The basic premise Brazilian's Agadir series is that the Great War was initiated by the Agadir Crisis, which would lead to Morocco's division for most of the war {so far}.
The crisis began when a rebellion broke out in the Moroccan capital of Fez against the sultan on July 1st, 1911. France, who had already occupied a small territory bordering their Algerian colony, forced the sultan to accept their assistance in putting down the revolt. Spain also began securing territories, Fez included, fearing that France would take over the whole country otherwise. The sultan relocated to Marrakesh.
Germany was much more critical of France's actions in Morocco, and they sent several ships to the Moroccan port of Agadir. France's ally Britain did the same. Then Germany sent an ultimatum to France and Spain, to get out of Morocco, with a deadline of 10 days. So on July 11th, when Germany received no answer, they immediately joined Morocco in declaring war on France and Spain, beginning the Great War.
With Franco-Spanish armies still advancing southward, Marrakesh was lost, and the Moroccan sultan was forced to accept German protection. At this point Morocco was split into three:
* The northern coastal areas became the Spanish-controlled Rif Protectorate, governed from Tetouan.
* The rest of occupied northern Morocco became the French-controlled Fez Protectorate, governed from Fez.
* The rest of Morocco came under German protection as the State of Agadir, governed from Agadir.