In the 17th century, when Morocco became ruled by the current
'Alawid dynasty, its flag was solid red at first. The
Sharifs of Makkah used that as a reference colour. On 8 May 2010, a Moroccan flag with a size of , weighing , was set in
Dakhla, a city in the disputed territory of
Western Sahara. It was certified by
Guinness World Records as the largest flag ever draped.
Other historical flags File:Flag of Morocco (1666–1915).svg|Flag of Morocco under the
Alawi dynasty (1666–1915) File:Flag of the Republic of the Rif.svg|Flag of the
Republic of the Rif (1921–1926) File:Merchant flag of French Morocco.svg|Merchant flag of the
French protectorate in Morocco (1919–1956) File:Merchant flag of Spanish Morocco.svg|Merchant flag of the
Spanish protectorate in Morocco (1937–1956) File:Flag of the Tangier International Zone.svg|Merchant flag of the
Tangier International Zone (1953–1957) ==Other national flags==