Category 2086 - Question 3

What is the legal term for the right to challenge unlawful detention by the state and where does this come from?

Habeas corpus comes from English common law.