Gran Colombia was a country formed after New Granada declared independence in 1819. The rebels, led by Simon Bolivar, defeated the Spanish Empire but then fought among themselves. In 1831 Venezuela and Ecuador, being the eastern and southern part of the country, declared independence from Gran Colombia. After that the remaining territory is just called Colombia. Decades later, Panama also became independent from Colombia.