he was lieutenant colonel of the militia army of costa rica