In 1911 it was ceded to German Empire under the terms of the Morocco–Congo Treaty and Treaty of Fez, becoming part of the German colony of Neukamerun, until it was reconquered by the French in 1916 following the defeat of German forces in western Africa during World War I.
Treaty of Versailles | Fez | Treaty of Trianon | Treaty of Utrecht | Treaty of Aix-la-Chapelle | Treaty of Berlin (1878) | Treaty of Rome | Treaty of Lisbon | Treaty of Campo Formio | Treaty of Berlin | Treaty of Aix-la-Chapelle (1748) | Maastricht Treaty | Treaty of the Pyrenees | Treaty of Saint-Germain-en-Laye (1919) | Treaty of Guadalupe Hidalgo | Penn Treaty Park | Lateran Treaty | Washington Naval Treaty | Treaty of San Stefano | Treaty of Roskilde | Treaty of Nice | Treaty of Frankfurt | Treaty of Brest-Litovsk | Treaty of Bassein | Treaty of Basel | Patent Cooperation Treaty | Treaty of Waitangi | Treaty of Schönbrunn | Treaty of Ryswick | Treaty of Punakha |
Following the declaration of the French protectorate over Morocco after the signing of the Treaty of Fez in 1912 French troops began occupying the inland portion of Morocco.