In the First Moroccan Crisis of 1905, Germany nearly came to blows with Britain and France when the latter attempted to establish a protectorate over Morocco.
The Second Moroccan Crisis of 1911 saw another dispute over Morocco erupt when France tried to suppress a revolt there.