The Illinois Petition Under 28 U.S.C. 2241 for Relief from a Conviction or Sentence by a Person in Federal Custody is a legal document filed by a person in federal custody who is seeking to have their conviction or sentence in federal court overturned. This petition is used to challenge a conviction or sentence imposed in federal court that is based on alleged constitutional or jurisdictional errors. The petitioner must make a showing that the conviction or sentence was erroneous and that they were prejudiced by the errors. There are two types of Illinois Petition Under 28 U.S.C. 2241 for Relief from a Conviction or Sentence by a Person in Federal Custody: the direct petition and the habeas corpus petition. The direct petition is used to challenge the conviction or sentence itself, while the habeas corpus petition is used to challenge the manner in which the conviction or sentence was imposed. Both types of petitions must meet the requirements for filing under 28 U.S.C. 2241 and must be filed in the appropriate court.