Habeas corpus is a recourse in law through which a person can report an unlawful detention or imprisonment to a court and request that the court order the custodian of the person, usually a prison official, to bring the prisoner to court, to determine if the detention is lawful. It is known as "the great and efficacious writ in all manner of illegal confinement". Habeas corpus has certain limitations. Though a writ of right, it is not a writ of course. It is technically only a procedural remedy; it is a guarantee against any detention that is forbidden by law, but it does not necessarily protect other rights, such as the entitlement to a fair trial. Other writs provided in the Indian Constitution include mandamus, prohibition, quo warranto and certiorari.