In 1838, during the Carlist Wars, the military district of "la Comandancia General del Maestrazgo" was created by Ramón Cabrera. During the Spanish Civil War the area was intensively fought over, especially after the fall of Teruel. Republican guerillas of the "Agrupación guerrillera de Levante y Aragón" held out in the mountains of the Maestrazgo until the 1950s.(see Spanish Maquis).