The Marinid was a berber muslim empire, they were founded in the mid-13th and rulled until the 15 century. They controlled Morocco, Algeria, Tunisia and Al Andalus around Gibraltar.
It was named after the Banu Marin, a zenata Berber Tribe.