The origin of the conflict occurred during the Irish revolutionary period of the early twentieth century, during which most of Ireland seceded from the UK and became the Irish Free State, while the northern six counties opted to remain under the terms of the Anglo-Irish Treaty.