Northern Ireland national football team
In 1920, Ireland was partitioned into Northern Ireland and Southern Ireland. In 1922, Southern Ireland gained independence as the Irish Free State, later to become a republic under the name of Ireland. Amid these political upheavals, a rival football association, the Football Association of Ireland, emerged in Dublin in 1921 and organised a separate league and international team. In 1923, at a time when the home nations had withdrawn from FIFA, the FAI was recognised by FIFA as the governing body of the Irish Free State on the condition that it changed its name to the Football Association of the Irish Free State. The Irish FA continued to organise its national team on an all-Ireland basis.
Ireland
In December 1921, the Anglo-Irish Treaty was concluded between the British government and representatives of the Second Dáil. It gave Ireland complete independence in its home affairs and practical independence for foreign policy, but an opt-out clause allowed Northern Ireland to remain within the United Kingdom, which it immediately exercised as expected. Additionally, Members of the Free State Parliament were required to swear an oath of allegiance to the Constitution of the Irish Free State and make a statement of faithfulness to the King. Disagreements over these provisions led to a split in the nationalist movement and a subsequent Irish Civil War between the new government of the Irish Free State and those opposed to the treaty, led by Éamon de Valera. The civil war officially ended in May 1923 when de Valera issued a cease-fire order.