The collapse of the Commonwealth of England in 1660 and the restoration of the monarchy under Charles II discredited republicanism among England's ruling circles. Nevertheless, they welcomed the liberalism, and emphasis on rights, of John Locke, which played a major role in the Glorious Revolution of 1688. Even so, republicanism flourished in the "country" party of the early 18th century (commonwealthmen), which denounced the corruption of the "court" party, producing a political theory that heavily influenced the American colonists. In general, the English ruling classes of the 18th century vehemently opposed republicanism, typified by the attacks on John Wilkes, and especially on the American Revolution and the French Revolution.