It took France and Spain years to agree on how they wanted to share Morocco. Negotiations were concluded on the 27th of November 1912 by signing the Treaty of Madrid. This agreement was later interrupted by new political actors who wanted to get a slice of the cake.