The First Dáil was replaced by the Second Dáil in 1921. Both of these "Dála" existed under the proclaimed Irish Republic; it was the Second Dáil which narrowly ratified the Anglo-Irish Treaty. The status of the Third Dáil of 1922–1923 was different as it was also recognised by the British. It was elected under the terms of the 1921 Anglo-Irish Treaty as a provisional parliament to pave the way for the creation of an independent Irish state. With the establishment of the Irish Free State in 1922, a new parliament called the Oireachtas was established, of which Dáil Éireann became the lower house.