French for control of Morocco. The Spanish had faced unrest off and on from the 1890s, but in 1921, Spanish forces were massacred at the Battle of Annual. El-Krim founded an independent Rif Republic that operated until 1926, but had no international recognition. Eventually, France and Spain agreed to end the revolt. They sent in 200,000 soldiers, forcing el-Krim to surrender in 1926; he was exiled in the Pacific until 1947. Morocco was now pacified, and became the base from which Spanish Nationalists would launch their rebellion against the Spanish Republic in 1936. Germany Weimar Republic The humiliating peace terms in the Treaty of Versailles provoked bitter indignation throughout Germany, and seriously weakened the new democratic regime. The Treaty stripped Germany of all of its overseas colonies, of Alsace–Lorraine, and of predominantly Polish districts. The Allied armies occupied industrial sectors in western Germany including the Rhineland, and Germany was not allowed to have a real army, navy, or air force. Reparations were demanded, especially by France, involving shipments of raw materials, as well as annual payments. When Germany defaulted on its reparation payments, French and Belgian troops occupied the heavily industrialised Ruhr district (January 1923). The German government encouraged the population of the Ruhr to passive resistance: shops would not sell goods to the foreign soldiers, coal mines would not dig for the foreign troops, trams in which members of the occupation army had taken seat would be left abandoned in the middle of the street. The German government printed vast quantities of paper money, causing hyperinflation, which also damaged the French economy. The passive resistance proved effective, insofar as the occupation became a loss-making deal for the French government. But the hyperinflation caused many prudent savers to lose all the money they had saved. Weimar added new internal enemies every year, as anti-democratic Nazis, Nationalists, and Communists battled each other in the streets. Germany was the first state to establish diplomatic relations with the new Soviet Union. Under the Treaty of Rapallo, Germany accorded the Soviet Union de jure recognition, and the two signatories mutually agreed to cancel all pre-war debts and renounced war claims. In October 1925 the Treaty of Locarno was signed by Germany, France, Belgium, Britain, and Italy; it recognised Germany's borders with France and Belgium. Moreover, Britain, Italy, and Belgium undertook to assist France in the case that German troops marched into the demilitarised Rhineland.