During the first half of the sixteenth century, the Wattasids and the Ottomans maintained good relations, with the former supporting the latter militarily during their conquest of the Zayyanid kingdom of Tlemcen, and the latter’s large number of Janissaries serving the Wattasid sultans in Fez. However, these relations were suspended due to the dispute over Tlemcen and the asylum granted by the Wattasids to the planners of the anti-Ottoman revolts.