Part of the Attorney General's function has been to identify and prepare the repeal of all legislation passed before independence. This includes laws of the United Kingdom of Great Britain and Ireland, Britain, England, and the Irish Parliament. For example, the killing of cattle in Dublin is still regulated, in part by an Irish act of 1743, while the "Treatment of Foreign Merchants" is governed by 25 Edw.