Mechouar or mashwar (Arabic: المشور - Spanish: Mexuar) is a place mainly existing in Maghreb. It is served as a place for consultation (Arabic: michawara), where government of sultan's affairs are managed.
The Mechouar may exist inside a palace as a large patio or outside it as a Plaza square. Generally, all the area surrounding the royal palace is referred to as a "mechouar".
There are many palaces in Spain, mainly in Andalusia which have their Mexuars used at the era of Al-Andalus.
Zianid's palace in the mechouar of Tlemcen, Algeria