The Irish Free State (Irish: Saorstát Éireann) (1922–1937) was the state established as a Dominion on 6 December 1922 under the Anglo-Irish Treaty, signed by the British government and Irish representatives exactly twelve months beforehand. On the day the Irish Free State was established, it comprised the entire island of Ireland but Northern Ireland almost immediately exercised its right under the Treaty to opt out of the new state. The Irish Free State effectively replaced the self-proclaimed but in many respects de facto Irish Republic (itself established on 21 January 1919).
Similarly, the new government of the Irish Free State replaced both the Provisional Government of Southern Ireland and the Government of the Irish Republic although W. T. Cosgrave, the first President of the Executive Council of the Irish Free State had, in any event, led both governments since August 1922. For about two days from 6 December 1922 Northern Ireland stopped being part of the United Kingdom and became part of the newly created Irish Free State.
This remarkable constitutional episode arose because of the Anglo-Irish Treaty and the legislation introduced to give that Treaty legal effect.