writ of habeas corpus

(noun) habeas corpus

writ (generic term)
judicial writ (generic term)