Part of the agreement forming the basis of union was that the Test Act would be repealed to remove any remaining discrimination against Roman Catholics, Presbyterians, Baptists and other dissenter religions in the newly United Kingdom. However, King George III, invoking the provisions of the Act of Settlement 1701 controversially and adamantly blocked attempts by Prime Minister William Pitt the Younger. Pitt resigned in protest, but his successor Henry Addington and his new cabinet failed to legislate to repeal or change the Test Act.