The "Republic of the Equator" was one of three countries that emerged from the collapse of Gran Colombia in 1830 (the others are Colombia and Venezuela). Between 1904 and 1942, Ecuador lost territories in a series of conflicts with its neighbors. A border war with Peru that flared in 1995 was resolved in 1999. Although Ecuador marked 25 years of civilian governance in 2004, the period has been marred by political instability. Seven presidents have governed Ecuador since 1996.