Emirate of Nekor
Also known as: Imārat Banī Ṣāliḥ, Kingdom of Nekor, إمارة بني صالح, إمارة نكور
Salihid emirate founded in 710 by Salih I ibn Mansur in the Rif area of present-day Morocco, with its capital first at Temsamane and then at Nekor. The Banu Salih dynasty ruled until about 1015, and the emirate was the first autonomous state in the Maghreb.