The military tradition starts in Gran Colombia, where a sizable army was stationed in Ecuador due to border disputes with Peru, which claimed territories under its political control when it was a Spanish vice-royalty.