What is Habeas Corpus?
It is a command from a court, by which the jailer is forced to allow the prisoner to be brought before a judge that the occasion of his imprisonment may be examined: in order to ensure that there is just and legal cause for detaining him, and if not, that he may immediately be set at liberty.