British rule in Ireland spanned several centuries and involved British control of parts, or entirety, of the island of Ireland. British involvement in Ireland began with the Anglo-Norman invasion of Ireland in 1169. Most of Ireland gained independence from Great Britain following the Anglo-Irish War. Initially formed as a Dominion called the Irish Free State in 1922, the Republic of Ireland became a fully independent republic following the passage of the Republic of Ireland Act in 1949. Northern Ireland remains part of the United Kingdom as a constituent country.