The right to freedom from illegal detention is secured through the writ of
-
mandamus
-
prohibition
-
quo warranto
-
habeas corpus
D
Correct answer
Explanation
Habeas corpus (Latin for 'you may have the body') is the writ that protects against illegal detention. It compels law enforcement authorities to produce a detained person before a court and justify the detention. Mandamus directs officials to perform duties; prohibition prevents lower courts from exceeding jurisdiction; quo warranto challenges unlawful holding of office.