The siege of Madrid was a two-and-a-half-year siege of the Republican-controlled Spanish capital city of Madrid by the Nationalist armies, under General Francisco Franco, during the Spanish Civil War (1936–1939). The city, besieged from October 1936, fell to the Nationalist armies on 28 March 1939. The Battle of Madrid in November 1936 saw the most intense fighting in and around the city when the Nationalists made their most determined attempt to take the Republican capital. The highest military awards of the Spanish Republic, the Laureate Plate of Madrid (Placa Laureada de Madrid), and the Madrid Distinction (Distintivo de Madrid), established by the Republican government to reward courage, were named after the capital of Spain because the city symbolised valour and Republican resistance during the long siege throughout the war. Siege of Cuartel de la Montaña The Spanish Civil War began with a failed coup d'état against the Popular Front Government of the Spanish Republic by Spanish Army officers on 18 July 1936. In Madrid, the Republican government was unsure what to do. It wanted to put down the coup but was unsure if it could trust the armed forces, and it did not want to arm the Confederación Nacional del Trabajo (CNT) and Unión General de Trabajadores (UGT) trade unions and potentially accelerate the ongoing Spanish Revolution. On 18 July, the government sent units of the Guardia Civil to Seville to put down the rebellion there. However, on reaching the city, the guardias defected to the insurgents. On 19 July, Santiago Casares Quiroga resigned as prime minister and was succeeded by Diego Martinez Barrio, who tried to arrange a truce with the insurgent General Emilio Mola by telephone, but Mola refused the offer and Martinez Barrio was ousted by José Giral. Giral agreed to arm the trade unionists to defend the Republic and had 60,000 rifles delivered to the CNT and UGT headquarters although only 5,000 were in working order.