. It is estimated that during the colonial period (1492–1832), a total of 1.86 million Spaniards settled in the Americas and a further 3.5 million immigrated during the post-colonial era (1850–1950); the estimate is 250,000 in the 16th century, and most during the 18th century as immigration was encouraged by the new Bourbon Dynasty.
Spain enjoyed a cultural golden age in the sixteenth and seventeenth centuries when silver and gold from American mines increasingly financed a long series of European and North African wars. Spanish wars of conquest included laying waste much of the Netherlands and a disastrous attempt to invade England.
In the early 19th century, the Spanish American wars of independence resulted in the emancipation of most Spanish colonies in the Americas, except for Cuba and Puerto Rico, which were finally given up in 1898, following the Spanish–American War, together with Guam and the Philippines in the Pacific. Spain's loss of these last territories politically ended the Spanish rule in the Americas.