Following the rule of Oliver Cromwell, Charles II agreed to the Habeas Corpus Act and to other demands of Parliament. He did this for the reason of having an order in restoring the peace and glory of the country that they had before. It was passed last 27th of May 1679.