In 1811 with the command of light horse and irregulars Palerea collaborated with the fifth regiment of "Escuadrones Francos Numantinos" in the Battle of Arapiles. Their main role was to disrupt the communications around the French general Marmont, providing assistance to the Earl of Wellington's combined forces of British and Portuguese troops. In 1812, he was present at the signing of the constitution of the 25 of September. Soon after he was named in command of his own regiment of horse titled "Regimiento de Húsares Numantinos", under the Division of Navarre. With this regiment he took command at the battle of Los Altos Sorauren in 1814.