The Nine Years' War between Gaelic Irish chiefs and the Dublin Castle administration of the Kingdom of Ireland ended in Gaelic defeat 1603, and the Flight of the Earls in 1607 left northwest Ulster open to colonisation.