al Rif
The Rif is a mountainous region along Morocco’s Mediterranean coast, extending west toward the Strait of Gibraltar. Amazigh communities inhabited the mountains from prehistoric times, and Phoenician traders later founded coastal settlements such as Tingi, now Tangier.
Border incidents near Ceuta sparked the Spanish–Moroccan War in 1859, and Spain captured Tétouan in 1860 before Morocco’s defeat. Melilla became a free Port in 1863, and Sephardi arrivals from Tétouan fostered trade there. Eastern Rif iron mining also supported Melilla’s economy.
Much of the Rif fell within the Spanish protectorate in Morocco in 1912. In 1921, Abd el-Krim’s victory at Annual drove Spanish troops back to fortified positions and opened the way for the Rif Republic. A joint French–Spanish campaign turned the tide in 1925. Abd el-Krim surrendered in 1926, and Spain gained effective control of the protectorate.