Francisco Franco coup that had now degenerated into a civil war, and was strongly identified with the Carlist monarchists and not at all with the Falange, a party with Fascist leanings and connections ("phalanx", a far-right Spanish political party founded by José Antonio Primo de Rivera), nor did he have good relations with Germany; Queipo de Llano and Cabanellas had both previously rebelled against the dictatorship of General Miguel Primo de Rivera and were therefore discredited in some nationalist circles; and Falangist leader José Antonio Primo de Rivera was in prison in Alicante (he would be executed a few months later) and
Spanish protectorate in Morocco the Republic of the Rif, led by the guerrilla leader Abd el-Krim, was a breakaway state that existed from 1921 to 1926 in the Rif region, when it was subdued and dissolved by joint expedition of the Spanish Army of Africa and French forces during the Rif War. The Spanish lost more than 13,000 soldiers at Annual in July–August 1921. Controversy in Spain over the early conduct in the war was a driving factor behind the military coup by General Miguel Primo de Rivera in 1923 which foreshadowed the Spanish Civil War of 1936–39. After the successful 1925 Alhucemas landing,