<P> In 2016, President Rodrigo Duterte said he was planning on suspending the habeas corpus . </P> <P> On May 23, 2017 at 10 pm Philippine time, President Rodrigo Duterte declared martial law in the whole island of Mindanao including Sulu and Tawi - tawi for the period of 60 days due to the series of attacks mounted by the Maute group, an ISIS - linked terrorist organization . The declaration suspends the writ . </P> <P> The Parliament of Scotland passed a law to have the same effect as habeas corpus in the 18th century . This is now known as the Criminal Procedure Act 1701 c. 6 . It was originally called "the Act for preventing wrongful imprisonment and against undue delays in trials". It is still in force although certain parts have been repealed . </P> <P> The present Constitution of Spain states that "A habeas corpus procedure shall be provided for by law to ensure the immediate handing over to the judicial authorities of any person illegally arrested". The statute which regulates the procedure is the Law of Habeas Corpus of 24 May 1984, which provides that a person imprisoned may, on her or his own or through a third person, allege that she or he is imprisoned unlawfully and request to appear before a judge . The request must specify the grounds on which the detention is considered to be unlawful, which can be, for example, that the custodian holding the prisoner does not have the legal authority, that the prisoner's constitutional rights have been violated, or that he has been subjected to mistreatment . The judge may then request additional information if needed, and may issue a habeas corpus order, at which point the custodian has 24 hours to bring the prisoner before the judge . </P>

The english principle of protected rights first appeared in