Following these events, the Sultan of Constantinople sent an embassy to invite Moulay Ismaïl to make peace with the Algerians and to respect their territory; the Sultan of Morocco accepted this invitation.[1]