The Alaska Petition for Writ of Habeas Corpus is a legal document filed in the state of Alaska in order to challenge the detention of a person by the government. The Petition seeks to have the court review the legality of the detention and, if the detention is found to be illegal, to order the person’s release. The Petition must be filed in the Superior Court of Alaska in the county where the detention is taking place. There are two types of Alaska Petition for Writ of Habeas Corpus — one for those in custody awaiting trial, and another for those already convicted and serving a sentence.