They needed, they felt, to maintain order through discipline, and the law was supposed to reform and educate. Punishment, and the threat of it, was meant to encourage good behaviour and deter crime. They also considered that rulers should be merciful and periodically declare amnesties, under which criminals would have their sentences commuted, prisoners would be released, and criminal proceedings discontinued.