The island was politically united as part of the UK from 1801 to 1922. The Government of Ireland Act 1920 and subsequent Anglo‑Irish Treaty created the Irish Free State (later Republic of Ireland) in the south, while Northern Ireland (six counties) remained in the UK.