Answer
The Spanish House of Habsburg ruled Portugal during the Iberian Union, a period of dual monarchy between Spain and Portugal that lasted from 1580 to 1640. This union occurred when King Philip II of Spain, a Habsburg, inherited the Portuguese throne following the death of King Sebastian of Portugal without an heir.