In 1774 he became Lord Mayor of London; he was simultaneously Master of the Joiners' Company, where he changed the motto from "GOD GRANNTE US TO USE JUSTICE WITHE MERCYE" to "JOIN LOYALTY AND LIBERTY", a political slogan associated with Wilkes. That year Wilkes was re-elected to Parliament, again representing Middlesex. He was one of those opposed to war with the American colonies. He was also a supporter of the Association Movement and of religious tolerance. His key success was to protect the freedom of the press by gaining passage of a bill to remove the power of general warrants and to end Parliament's ability to punish political reports of debates. In 1779 he was elected to the position of Chamberlain of the City of London, a post of great responsibility which he was to hold until his death in 1797.