Charles IV of Spain
On March 1, 1799, Sultan Slimane signed an accord with King Charles IV of Spain, in which he recognized that the Saguia el Hamra and Cape Juby regions were not part of his dominions (Art. 22).