Flag of Béjaïa between the 14th century and the 16th century, found in https://www.crwflags.com/fotw/flags/dz_pir.html. Based on flag depicted in the 14th-century Libro del conocimiento (Book of Knowledge of All Kingdoms).
Own work
Rayan54