The Alaska Writ of Habeas Corpus is a legal document used to challenge a person's detention or confinement. It is a civil action that can be filed in the state of Alaska by individuals seeking court orders to have their cases reviewed. This writ is used when an individual believes they are being unlawfully detained or confined without due process of law. The writ is filed in the court to order the release of a person and to determine whether the detention or confinement is legal. There are two types of Alaska Writ of Habeas Corpus: the original writ and the successive writ. The original writ is filed when an individual has been arrested or detained and believes they are being held unlawfully. This writ is used to challenge the legality of the initial arrest or detention. The successive writ is used when an individual has already been released from custody but still believes their detention or confinement was unlawful. This writ is used to challenge the legality of any subsequent actions taken against the individual.