The fortress was built on a plateau with an altitude of 1240 meters , some sixty years after the construction of a fortress in Marrakesh, whose remains are on the perimeter of the first Koutoubia Mosque; their discovery in 1948 led Charles Allain and Jacques Meunié to study Tasghîmût.