In the Second Battle of Cancha Rayada, Spanish forces defeated Chileans under José de San Martín.
The Battle of Cancha Rayada (March 16, 1818), (also known in Chile as the Second Battle of Cancha Rayada or Surprise of Cancha Rayada) was fought in Chile between South American patriots and Spanish royalists, during the Osorio's campaign in the South American wars of independence. The result was a defeat for the patriot forces, weeks later the patriots take their rematch at the Battle of Maipú.