サアド朝
By 1657, the position had changed. The Saadi dynasty steadily lost control of the country to various warlords and finally came to an end with the death of Ahmad al-Abbas. The main warlord around Tangier was Khadir Ghaïlan (known to the English of the time as "Guyland"). He and his family had taken control of much of the Gharb, the Rif, and the other coastal areas around Tangier. He appears to have considerably increased attacks on Portuguese Tangier.