Before revision: After several attempts to set up independent states in the 1810s, the kingdom and the viceroyalty ceased to exist altogether in 1819 with the establishment of the United Provinces of New Granada .
After revision: After several attempts to set up independent states in the 1810s, the kingdom and the viceroyalty ceased to exist altogether in 1819 with the establishment of the first Republic of Colombia .