Historically, the Kingdom of Portugal and the Kingdom of England, and later the modern Portuguese Republic and United Kingdom, have never waged war against each other nor have they participated in wars on opposite sides as independent states since the signing of the Treaty of Windsor. While Portugal was subsumed under the Iberian Union, rebellious Portuguese factions and government in exile sought refuge and help in England. England spearheaded the Anglo-Spanish War (1585–1604) on the side of the deposed Portuguese royal house.