Ireland formally became independent in 1922 after the signing of the Anglo-Irish Treaty. Before this happened, the matters associated with sexuality were governed by the laws of the United Kingdom. The newly-formed Irish Free State had automatically inherited these laws. One such law was the Offences Against the Person Act