With Spanish power over the Mosquito Coast vanished and British influence rapidly returning, the Captaincy General of Guatemala sought full control of the shore from Spain. The Colombian Ricardo S. Pereira, writing in 1883, considered this act a miscalculation on the part of the Real Audiencia of Guatemala, and if they had simply raised an army and marched on the Mosquito Coast, nobody would have questioned that the area was part of the Captaincy General once Spanish power was fully restored. Instead, the Spanish government heeded the old advice exposed by Gil de Taboada and Ezpeleta, and decided against Guatemala's request on November 30, 1803, reaffirming the control of the Viceroyalty of New Granada over the Archipelago of San Andrés, Providencia and Santa Catalina (used by New Granadan coast guards as a base against British privateers, often coming from the Mosquito Coast itself), and transferring sovereignty of the Mosquito Coast over to New Granada and considering the area a dependency of San Andrés. While Spanish rule was never restored over the Mosquito Coast (instead, the British occupied the Archipelago itself in 1806 during the course of the war against Spain), the Royal Decree of 1803 became the reason for territorial disputes between the United Provinces of Central America and Gran Colombia after Latin American independence, and between Nicaragua and Colombia for the rest of the 19th century.