The Militia Act of 1661 gave Charles unprecedented authority to maintain a standing army, and the Corporation Act of 1661 allowed him to purge the boroughs of dissident officials. Other legislation placed strict limits on the press and on public assembly, and the 1662 Act of Uniformity created controls of education.