معركة أنوال
Goded graduated from the academy and was assigned to various posts. In 1907, when 25 years old, he held the rank of captain. In 1919, a rebellion against Spanish colonial rule took place in Spanish Morocco, a Spanish protectorate. The rebel leader in what is also known as the Rif War was Abd-el-Krim. The Riffians, as the rebels became known, annihilated the army of Spanish General Manuel Fernández Silvestre at the Battle of Annual in 1921 and were poised to attack the Spanish enclave of Melilla. Generals Jose Millan Astray and Francisco Franco, who founded the Spanish Foreign Legion, fought against the Riifians on land.