he was engaged in the battles of huaqui las piedras tucuman and salta