A Kentucky Petition for a Writ of Habeas Corpus Under 28 U.S.C. 2241 is a legal action filed in federal court by a prisoner who is challenging the legality of his or her detention. This petition allows the petitioner to argue that he or she is being held in violation of the U.S. Constitution or federal law. The petitioner is asking the court to order the government to either release the petitioner from custody or provide a valid legal basis for the continued detention. There are two types of Kentucky Petition for a Writ of Habeas Corpus Under 28 U.S.C. 2241. The first type is a “first-tierareasbeas petition, which is filed directly in the U.S. District Court in the district where the petitioner is being held. The second type is a “second-tierareasbeas petition, which is filed with a higher court after the first-tier court denies the petition. Under 28 U.S.C. 2241, the petitioner must show that he or she is “in custody in violation of the Constitution or laws or treaties of the United States.” The petitioner must provide evidence and arguments to support his or her claims and must file the petition within a certain time period, which is typically one year from the date of the underlying conviction. If the court grants the petition, the petitioner will be released from custody or a valid legal basis for the continued detention will be provided.