The Berber people are the indigenous people of Morocco. The kingdom of Mauritania was ruled by a native of this land first documented 110BC. The kingdom was invaded many a time, but the Berber people maintained their rituals and beliefs throughout. Today the regime has acknowledged and made it a cultural heritage and preserving much vintage architecture. The Berber language has also been officially recognizing and currently, you will witness the building material used by the aboriginal of this land the use of mud and earth, many of these archaeological sites has defensive functions as a military strategy against pirates and rivals. Since the building has a water problem the foundation must be rebuilt frequently. The country went through a metamorphosis in the many people who migrated and invaded this land by introducing their architectural design and cuisine. Thus, creating the fusion of different culture.
The architectural style was greatly influenced by the acceptance of Islam by the Berber people. Thus, as a result of Idris 1 of Morocco who introduced a new interior design in the buildings found in Morocco. These change we could witness in mosque, palaces, plazas and homes features like fountains as water is important commodity for the Muslim community as ablution is an essential commodity for prayer, internal gardens to create the Edenic tranquillity describe in the Quran , use of zellige tilling and extending the technique with furniture and other architectural mediums.
Islamic belief changes the way buildings were constructed by using Geometric design and floral motifs because the use of images was taboo. The Moroccan architectural decor is chiefly carved into stone, wood and plaster. The Islamic architecture is not prevalent in this country only it is evident in the Sheikha Salama Mosque in the UAE city of Al Ain if you close to the two minarets it has Morrocan features. Spain was known as Andalusia( Muslim Spain) it was a Moorish domain from the early 8th century to late 15th century. Almohad Caliphate ruled the southern part of Spain. They were Berber dynasty that absolute power over Morroco in the 11th century
The building still currently standing is the Koutoubia Mosque in Marrakech, the Giralda of Seville, Spain and the Hassan Tower, in Rabbat, Morroco in this era.
Then came the Marinid dynasty from the 13th century till the 15th century they were the rulers of both Morroco and Southern Spain until the Reconquista with fall of Granada in 1492, ending the Moorish era.