Berber rebels in the Rif Region first established the Rif Republic (1921-1926) under Abd el-Krim against Spanish colonial rule, the state lasted until 1925 when the rebels tried to take the city of Fes, in a failed attempt to expand the republic into French Morocco.[2]
In 1971 army cadets under General Madbouh and Colonel Ababuh attacked king Hassan II in the Shkirat palace.[3][4] A republic was proclaimed on Radio Rabat, was but suppressed by General Mohamed Oufkir. However, in 1972 Oufkir initiated his own coup d'état; the Air Force tried multiple times to bring down the king's airplane, attacked the Rabat airport and bombed the royal palace in Rabat. The coup ultimately failed.[5]
During the 2011–2012 Moroccan protests, a few protesters chanted republican slogans. They were mainly from the Al Adl Wa Al Ihssane Islamist movement, the Ila al-Amam marxist group and some leftist streams. These slogans weren't repeated by the vast majority of the protesters.