I think that the Assassination at Sarajevo was a more important reason for the outbreak of war because it triggered the war. It was because of the Assassination at Sarajevo that led directly to the outbreak of war.
Morocco was one of the few places in Africa that hadn’t been colonised by a European Power. France was trying to gain control of Morocco and as part of the Entente Cordial, Britain agreed not to oppose the French. Germany was behind other countries on the size of the empire so they decided to oppose France’s attempts to gain control of Morocco. Germany wanted to show off as Morocco’s protector and test the Entente Cordiale. In 1905 the Kaiser went to Tangier to give a speech about Moroccan Independence and wanted to hold a conference about Morocco’s future. In 1906, Algeciras there was a conference with all major powers, where the Kaiser thought he would gain from the talks but none of the other countries sided with him except Austria-Hungary and Morocco. Spain and France got control of the Moroccan banks and police. Britain and France’s relationship got stronger and France got a foot hold in Morocco so Germany had failed and become humiliated. The Second Moroccan Crisis in 1911 happened when there was a rebellion against the Sultan in Fez. The French sent an army to help put down the rebellion; the Germans felt that since the French were protecting their interests they had the right to protect theirs. So the Germans sent the Gunboat ‘The Panther’. This was seen as overly militaristic and an act of war; it also occurred during the naval race so Britain was already irritated with Germany and thought they were building a naval base to rival theirs at Gibraltar, this event lead to Britain taking more of an interest into European affairs and France feeling that they had Britain’s support.
The