Until 1825 Spain controlled a vast colonial empire in the Americas, which stretched from Mexico in the north to Argentina in the south; following several years of bloody wars, however, most of the American colonies of Spain became independent republics. As a result, in 1828, the Spanish colonial military forces were completely reorganized with the objective of defending in a more effective way the rich overseas possession that were still controlled by Spain: the flourishing Caribbean islands of Cuba and Puerto Rico, as well the Asian archipelago of the Philippines and some small islands in the Pacific. During the 1850s, Spain created her own colony in Africa by settling the small territory of Equatorial Guinea; in 1898, however, she lost both the Caribbean colonies and the Philippines to the USA as a result of the disastrous Spanish-American War. The dramatic events of 1898, however, did not brought the Spanish colonial empire to an end. During the early decades of the XX century, in f