The insurrection of dissenters (1708-1711), which was headed by Thomas Carey, who was deputy-governor while the trouble was brewing, was in opposition to the establishment of the Church of England; it was ultimately unsuccessful, the Church was established in 1711, a law was passed which deprived Quakers of the privilege of serving on juries or holding public office, and the establishment was continued until the War of Independence.