Answer
The Duke of Alba was appointed Viceroy of Portugal by King Philip II of Spain in 1580, following his successful conquest of the country during the Portuguese Succession Crisis. Philip claimed the Portuguese throne after the death of King Sebastian I in 1578, and the Duke's rule was marked by harsh suppression of dissent and efforts to consolidate Spanish control over Portugal.