The legal system was brought back to what had been determined after the First Partition, except that majority voting in the sejm was preserved and townspeople kept some of their recently acquired rights. The Cardinal Laws were in force again and the army was limited to 15,000. The Permanent Council was brought back for practical administration of the state, but was now placed under the direction of the Russian ambassador.