The use of the flag in Morocco as a symbol of the state dates way back to the Almoravide dynasty (1062-1125 a d). Prior to this time, white silk banners were often carried in battle, sometimes with Koronic inscriptions written on them. The Almoravides institutionalized this practice. They gave one banner to every unit of 100 soldiers; the leaders always carried one inscribed: "There is no god but god, and Mohammad is His Prophet. " The two following dynasties (the Merinides and the Saadiens) continued the use of the White flag as the symbol of the State. The Alaouites (beginning in the 17th Century), which are the ruling dynasties and the ancestors of His Majesty King Hassan II, were the first to introduce the red flag. It was raised every morning and lowered every evening on the fortresses at Rabat and Sale. The green Sulayman star on the flag was introduced in 1912, when Morocco was put under the French protectorate, in order to distinguish the nation 's flag from the others.