Treaty of Aranjuez (1780)

The Treaty of Aranjuez was signed on December 25, 1780, between Spain and Morocco. Based on the terms of the treaty, Morocco gained territories ceded by Spain. In return, however, Morocco recognized Spanish rule over Melilla. The treaty defused tensions, lessening the chance that Morocco would agree to British requests to declare war on the Spanish, as in 1774.