Application for writ of habeas corpus

6 Application for writ of habeas corpus to challenge legality of detention

An application to challenge the legality of a person’s detention may be made by an application for a writ of habeas corpus.