Idrisid dynasty
In ("the Far West," Morocco), the script developed independently from the Kufic of the Maghrawa and Bani Ifran under the Idrisid dynasty (788-974); it gained Mashreqi features under the Imam Idris I, who came from Arabia. The script under the Idrisids was basic and unembellished; it was influenced by Iraqi Kufic, which was used on the Idrisid dirham.