Writ of Habeas Corpus


Scope of the Writ of Habeas Corpus.


            A writ of habeas corpus extends to all cases of illegal confinement or detention in which any person is deprived of his liberty, or in which the rightful custody of any person is withheld from the person entitled to it. Its essential object and purpose is to inquire into all manner of involuntary restraint and to relieve a person from it if such restraint is illegal. The singular function of a petition for habeas corpus is to protect and secure the basic freedom of physical liberty. (Sangca v. The City Prosecutor of Cebu, et al., G.R. No. 175864, June 28, 2007; citing In Re: Arguelles, Jr. v. Balajadia, Jr., G.R. No. 167211, March 14, 2006, 484 SCRA 653, 657).