The crisis of 1917 is the name that Spanish historians have given to the series of events that took place in the summer of 1917 in Spain. In particular, three simultaneous challenges threatened the government and the system of the Restoration: a military movement (the Juntas de Defensa), a political movement (the Parliamentary Assembly, organized by the Regionalist League of Catalonia in Barcelona) and a social movement (a general strike). These events coincided with a number of critical international events that same year. However, in world history this period is not typically referred to as a crisis, and the term is instead reserved for specific issues relating to World War I, such as the conscription crisis in Canada and the crisis of naval construction in the United States.William J. Williams (1992) The Wilson Administration and the Shipbuilding Crisis of 1917: Steel Ships and Wooden Steamers, Edwin Mellen Press Spain remained neutral throughout the conflict.

International events

In Russia, the February Revolution of 1917 had overthrown the Tsarist autocracy. The Kerensky government was attempting to build a democratic system while continuing the war against the Central Powers, a disaster in military, economic, and human terms. The Bolsheviks took advantage of the growing discontent to seize power in the October Revolution that year.

World War I had entered a phase of uncertainty, since Germany's advantage on the eastern front was offset by the United States entering the war on 6 April and destabilizing the western front.

Although its effects had yet to manifest during the Crisis of 1917, the Spanish flu was developing in the winter of 1917–1918, and would become the deadliest pandemic of the Late modern period. It received its name because Spanish newspapers, free from wartime censorship due to Spain's neutrality, were the first to report on it. The death toll of 50 to 100 million would greatly surpass the deaths of World War I, which contributed enormously to the spread of the epidemic around the world at a scale and speed never before experienced. The effects on Spain were dire: 8 million infected and 300,000 dead, although official statistics put the number of dead at 147,114.

Crisis in Spain

Economy and society Spain's neutrality in World War I increased a number of its exports, from agricultural and mineral raw materials to manufactured goods from the emerging industrial sector, particularly Catalonian textiles and Basque ironworks. The balance of trade grew from a deficit of more than one hundred million pesetas to a surplus of five hundred million pesetas.Garcia Queipo 1996, p. 18. This economic boom favored the industrial and commercial middle class and the financial and land-owning oligarchy, but also produced rising inflation while salaries stagnated. As profits were experiencing extraordinary growth rates, standards of living decreased significantly for the general populace, especially for the urban and industrial proletariat, although they were able to maintain pressure to achieve higher wages. In the countryside the situation was different: inflation had a greater impact, but more direct food availability lessened its effects on small landowners and tenants, predominant in the agrarian structure of northern Spain. It was quite the opposite, however, for landless laborers, a fundamental part of the workforce in the southern half of Spain, especially in Andalusia and Extremadura. The result of the process, already acutely visible in 1917, was a radical redistribution of national income, both between social classes and among territories. Rural exodus and disproportionate development between the industrial and agricultural sectors progressively worsened rural-urban tensions and the center-periphery.José Luis García Delgado Proceso inflacionista y política económica. Algunas conclusiones [Inflationary process and policy. Some conclusions in The Spanish economy between 1900 and 1923] in Tuñon de Lara (Ed.), pgs. 447–448.

Three challenges

Military challenge: Juntas de Defensa The Defence Juntas () were a military union movement created without the approval of the Spanish legislature, and represented a clear challenge to the liberal government of Manuel García Prieto, who, unable to control them, was forced to resign. His replacement, the conservative Eduardo Dato, legalized the Juntas.

The Juntas selected a name that was common among Spanish institutions and had credibility from its use in the popular uprising of the War for Independence. They claimed that their purpose was to defend the interests of mid-ranking military officials, but their goal of political intervention was clear.

The military's obsession with national unity had become one if its greatest mobilizing factors, manifesting in the 1905 attack on the satirical Catalan publication, ¡Cu-Cut!. After the attack, the governor attempted to appease them by passing the Law of Jurisdictions, which gave the military jurisdiction over "oral and written offenses against national unity, the flag, or the military's honor." Members of the military found themselves in a peculiar social situation: soldiers in almost every other world military were experiencing great social mobility on the merits of war and the need to recruit huge numbers of soldiers, while Spanish soldiers were reduced to inaction. They could not even be compensated with stations in the colonies, since those had been lost in the Spanish–American War of 1898. In fact, the Spanish military had an overabundance of officers, with 16,000 officers per 80,000 soldiers, compared to France's 29,000 officers per 500,000 soldiers. Resentments within the army were developing between the only colonial destinations in Morocco and the rest. Inflation continued to diminish the buying power of military salaries, which were set by the rigid state budget, unlike the more flexible contracts of workers.

The Juntas’ activities began in the first quarter of 1916, due to part of Governor Conde de Ramanones’ modernization program, which would require soldiers to pass aptitude tests to qualify for promotions. The governor accepted their protests initially, but after seeing the danger of a quasi-union movement in the army, ordered the Juntas to disband, although to little effect.Garcia Queipo 1996, p. 56. Even operating illegally, they had grown more outspoken since the end of 1916. Above all, the Junta de Defensa of the Barcelona Infantry, directed by Colonel Benito Márquez, had become the most active promoters of the movement. At the end of May 1917, they incurred a strong disciplinary reaction from the new government, directed at the time by García Prieto. The Minister of War, General Aguilera, ordered the arrest of various Junta members in Montjuïc Castle: two lieutenants, three captains, a commander, a lieutenant colonel, and Col. Benito Márquez, the most visible leader of the movement. Nevertheless, the immediate establishment of an Acting Junta, supported by the Artillery and Engineering Juntas, and even the Civil Guard in its "respectful" request on 1 June to free those arrested, resulted in a spectacular increase in military tension, which García Prieto did not have the support to confront. Prieto opted to resign, and King Alfonso XIII, who had a close relationship with the military, ordered Eduardo Dato to form a government. Dato's government decided to give in to the military's demands, liberate those arrested, and legalize the Juntas. To maintain tight control of the situation, the new government suspended constitutional guarantees and increased censorship of the press.Ruiz González 1984, p. 498.

Political challenge

Led by Francesc Cambó, the Regionalist League of Catalonia represented the Catalan bourgeoisie. They had recently acquired a local power base through the formation of the Commonwealth of Catalonia, which arose in 1914 as an aggregation of the Provincial Councils. Prat de la Riba had been the first leader of the Commonwealth, and died in 1917. In light of the open crisis, Cambó called on the government to convene the Parliament, but was refused. Facing this denial, and the impossibility of using ordinary parliamentary channels because the sessions of Congress had not convened, a large part of the deputies elected by the Catalan constituencies (48, all except those of the dynastic parties), met in the so-called Assembly of Parliaments of Barcelona at the beginning of July 1917. The Assembly demanded the convening of a constitutional assembly with the goal of re-structuring the government to recognize regional autonomy. They also demanded measures in the military and economic sectors. It was highly unlikely the Assembly could connect its movement to the economic discontent of the low-ranking officers in the Juntas de Defensa, but they made their attempt to do so explicit in a proclamation which declared:

The act committed by the Army on the first of June will be followed by a profound renovation of Spanish public life, undertaken and achieved by political elements.

Even though the Assembly represented less than 10% of the total deputies, a pre-revolutionary atmosphere persisted, which questioned the fundamentals of the political system of the Restoration: the turno of the dynastic parties founded by Cánovas and Sagasta, the clear predominance of the executive branch over the legislative, and the king's arbitration role. Dato responded by declaring the Assembly seditious, suspending newspapers, and sending the military to occupy Barcelona. In mid-July, the Assembly met again in the Salón de Juntas in the palace of Parc de la Ciutadella. In total 68 deputies attended, with additions from other regions such as the republican Alejandro Lerroux, the reformist Melquíades Álvarez, and a single socialist deputy, Pablo Iglesias, who was already preparing the strike movement planned for the following month. The gathered deputies agreed that "the convening of the Parliament, which, in constituent functions, can deliberate on these problems [of the country] and resolve them, is essential." But, they added, the Parliament could not be convened by a divided  government, but only by "a government that embodies and represents the sovereign will of the country." They agreed to meet again on 16 August in Oviedo, but the dissolution of the Assembly by security forces on 19 July and the subsequent events prevented them.Ruiz González 1984, p. 498-499. Antonio Maura's sought-after participation never took place.Garcia Queipo 1996.

Social challenge