A habeas corpus is a petition that is filed in either a high court or the Supreme Court to seek the production of a person who cannot be traced or one believed to be in wrongful custody of the State authorities or some other entity. It is the primary mechanism in our criminal justice system to ensure that personal liberty of individuals is not sacrificed without the authority of law. It is the effective application of this liberty that differentiates a despotic regime which is free to detain persons at will with one which is governed by rule of law.