He was the most-wanted man during the rule of the Spanish Governor of Chile, Casimiro Marcó del Pont. His assaults on Melipilla and San Fernando were an important part of San Martín's strategy to divert attention away from the "Liberating Army" that entered Chile and triumphed at the Battle of Chacabuco.