After James was liberated in June 1583, he assumed increasing control of his kingdom. He pushed through the Black Acts to assert royal authority over the Kirk, and denounced the writings of his former tutor Buchanan. Between 1584 and 1603, he established effective royal government and relative peace among the lords, ably assisted by John Maitland of Thirlestane who led the government until 1592. An eight-man commission known as the Octavians brought some control over the ruinous state of James's finances in 1596, but it drew opposition from vested interests. It was disbanded within a year after a riot in Edinburgh, which was stoked by anti-Catholicism and led the court to withdraw to Linlithgow temporarily.