The
Spanish invasion of Portugal between 5 May and 24 November 1762 was a main military episode of the Seven Years' War, where Spain and France were heavily defeated by the
Anglo-Portuguese Alliance. It initially involved the forces of Spain and Portugal, before the French and British intervened in the conflict on the side of their respective allies.