Question: What country did Spain invade?
Sentence: Spain, bound by the Pacte de Famille, intervened on behalf of France and together they launched a disastrous invasion of Portugal in 1762.
Answer in sentence: yes