 This would stay in place until 1778, when "the Decreto de Libre Comercio", allowing a limited free trade within Spanish-held realms, lifted many of these restrictions on trade with Europe.This would make the port more important than it had been, and led to increased prosperity for the inhabitants.Outside of the port, in other areas of the province, the economy was based on agriculture, livestock, and commerce.