Nevertheless, in 1821, convinced that under Bolívar's leadership the nation's destiny would move in the most progressive direction, the Isthmus joined Venezuela, New Granada (present day Colombia) and in 1822 Ecuador. The Republic of Colombia (1819–1830) or ‘Gran Colombia’ as it was called after 1886, roughly corresponded in territory to the former colonial administrative district Viceroyalty of New Granada (1717–1819). Although Panama belonged to that Viceroyalty, its economic and political ties had been much closer to the Viceroyalty of Peru (1542–1821).