You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
alternatehistory.com
So, the challenge here is to have Spain and Portugal unite politically, with a PoD after 1640.
Bonus points if you manage to create a republican Iberian Union.