The current limits of the Spanish territory around the Melilla fortress were fixed by treaties with Morocco in 1859, 1860, 1861, and 1894. In the late 19th century, as Spanish influence expanded in this area, the Crown authorized Melilla as the only centre of trade on the Rif coast between Tetuan and the Algerian frontier. The value of trade increased, with goat skins, eggs and beeswax being the principal exports, and cotton goods, tea, sugar and candles being the chief imports.