enforced. The cabildo of the Captaincy General of Chile requested from the king to be excluded from the new viceroyalty, which was accepted. The Cuyo region, with its main city Mendoza, was split from the Captaincy General of Chile. Leaders in Santiago resented this action as the Cuyo region had been originally settled by Spanish colonists from Chile. The Portuguese prime minister, Marquis of Pombal, encouraged the occupation of territory which had already been awarded to the Spanish in the Treaty of Paris (1763), following the British defeat of France in the Seven Years' War. King Charles III quickly reacted to the advantageous conditions: France was bound to be an ally as a guarantor of the treaty, and Great Britain, due to its own colonial problems with revolution in the Thirteen Colonies in North America, maintained neutrality on the issues between Portugal and Spain. Pedro de Cevallos conquered Colonia del Sacramento and the Santa Catarina islands after a siege of three days, gaining the First Treaty of San Ildefonso. With it, the Portuguese retired from the Río de la Plata and left the Banda Oriental for Spain. In exchange Spain ceded them the area of Rio Grande do Sul, which they developed as Brazil. Cevallos ended his military actions at this point and started working with government, but he was soon replaced by Juan José Vertiz y Salcedo. The viceroyalty was tasked with promoting local production of linen and hemp as export commodity crops, to supply the Spanish cloth industries that the Bourbons sought to favor. The early viceroyalty The conditions imposed by Spain on local commerce were high, but Charles III sought to lighten the burden. He allowed commerce through Buenos Aires on Spanish flag ships that were manned with Spanish naval officers. The ports of Buenos Aires and Montevideo were included in a list of Spanish ports allowed to trade with each other, certain Spanish American products were imported tax-free to Spain, and all the cities with ports were to be assigned Consulates or Tribunals of Commerce. This was not free trade, but a predecessor to what would develop. In the decade of 1778–1788, the commerce between Spain and Spanish America increased by nearly 700%. Buenos Aires was given a customs office in 1778, and Montevideo in 1789. Spanish policy still was directed at restricting Argentina commerce; the Empire banned the export of silver from Buenos Aires and