 They conquered Marrakesh in 1524.Ahmad al-Araj became Emir of Marrakesh, while still recognizing the Wattasid Sultan of Fez, while Mohammed ash-Sheikh remained as ruler of Taroudannt.In 1527, the Treaty of Tadla was passed between the Saadians and the Wattasids, following the Wattasid defeat in the battle of Wadi al-Abid.