In 1904 Morocco had been given to France by Britain, but the Moroccans wanted their independence. In 1905, Germany announced her support for Moroccan independence. War was narrowly avoided by a conference which allowed France to retain possession of Morocco. However, in 1911, the Germans were again protesting against French possession of Morocco. Britain supported France and Germany was persuaded to back down for part of French Congo.
In 1908, Austria-Hungary took over the former Turkish province of Bosnia. This angered Serbians who felt the province should be theirs. Serbia threatened Austria-Hungary with war, Russia, allied to Serbia, mobilised its forces. Germany, allied to Austria-Hungary mobilised its forces and prepared to threaten Russia. War was avoided when Russia backed down. There was, however, war in the Balkans between 1911 and 1912 when the Balkan states drove Turkey out of the area. The states then fought each other over which area should belong to which state. Austria-Hungary then intervened and forced Serbia to give up some of its acquisitions. Tension between Serbia and Austria-Hungary was high.
The effects of these crises had been a hardening of attitudes and an increase in distrust between the different European powers. It led to a strengthening of the different alliances: Britain and France during the Moroccan Crises and Austria and Germany during the Bosnian crisis.