Question: when did the republic of ireland gain independence
Answer: The state was created as the Irish Free State in 1922 as a result of the Anglo - Irish Treaty .