the minister of the indies responsible for the 18th century reforms within the spanish empire was
Bourbon Reforms The bulk of the changes in Spanish America came in the second half of the 18th century following the visita general (general inspection) of New Spain (1765–1771) by José de Gálvez, who was later named Minister of the Indies. The reforms attempted in New Spain were implemented elsewhere in Spanish America subsequently.[11] There had been one earlier reform in the creation of the new Viceroyalty of New Granada (1717), carved out from the Viceroyalty of Peru to improve the administration of the overseas possessions. The new viceroyalty was created initially in 1717, suppressed just six years later, and then permanently established in 1739, still earlier than the reforms of the late 18th century. It was an administrative change that reflected the recognition (as early as the 16th century) that the northern area of South America had certain challenges of distance from Peru.[a] There had been earlier creations of captaincies general in Guatemala and Venezuela, marking an increase in their importance.[12] In 1776, a second jurisdiction, the Viceroyalty of Rio de la Plata was also carved out of the Viceroyalty of Peru in 1776 as part of José de Gálvez's comprehensive administrative reform.[13] In the same year, an autonomous captaincy general was also established in Venezuela.
Latin American wars of independence The Latin American wars of independence were the revolutions that took place during the late 18th and early 19th centuries and resulted in the creation of a number of independent countries in Latin America. These revolutions followed the American and French Revolutions, which had profound effects on the British, Spanish, Portuguese, and French colonies in the Americas. Haiti, a French slave colony, was the first to follow the United States; the Haitian Revolution lasted from 1791 to 1804, when they won their independence. The Peninsular War with France, which resulted from the Napoleonic occupation of Spain, caused Spanish Creoles in Spanish America to question their allegiance to Spain, stoking independence movements that culminated in the wars of independence, which lasted almost two decades. At the same time, the Portuguese monarchy relocated to Brazil during Portugal's French occupation. After the royal court returned to Lisbon, the prince regent, Pedro, remained in Brazil and in 1822 successfully declared himself emperor of a newly independent Brazil. Cuban independence was fought against Spain in two wars (Ten Years and Little War). Cuba and Puerto Rico remained under Spanish rule until the Spanish–American War in 1898.