A war of independence in the early 20th century was followed by the partition of the island, creating the Irish Free State in 1922, which became increasingly sovereign over the following decades, and Northern Ireland, which remained a part of the United Kingdom.