Michigan Petition for Writ of Habeas Corpus under 28 U.S.C. 2241 is a legal document used to challenge the legality of an individual’s detention in a state prison, jail, or other correctional facility. It is a federal habeas corpus petition that challenges the lawfulness of a person’s confinement in Michigan. The petition must be filed in the United States District Court for the Eastern District of Michigan. It typically must be filed within one year of the date of the alleged illegal confinement. There are two types of Michigan Petition for Writ of Habeas Corpus under 28 U.S.C. 2241: (1) direct habeas corpus petition, which challenges the validity of the custodian’s authority to detain the petitioner; and (2) collateral habeas corpus petition, which challenges the legality of the conviction or sentence of the petitioner.