section_path: History/Partition
section_name: Partition
paragraph_text: Partition
  
  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. 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.