This body consisted of the King of Ireland and two chambers: the Irish House of Commons and the Irish House of Lords) which existed in Lordship of Ireland (1171–1541) and the Kingdom of Ireland (1541–1800). This parliament operated under major restrictions, including Poynings' Law and the Penal Laws, imposed by the English and British Crown, by the English and British Parliament and by the King-in-Council. Many of these restrictions were removed in 1782, producing what became known as the Constitution of 1782. The Kingdom of Ireland merged with the Kingdom of Great Britain to form the United Kingdom of Great Britain and Ireland in 1801.