Application for Leave to File a Second or Successive Habeas Corpus Petition by a Prisoner in State Custody is a legal document that is used by individuals who are in prison and would like to challenge their conviction or sentence. The document requests permission from the court to file a habeas corpus petition in a federal court. This type of application is only used when the individual has already filed a habeas corpus petition and exhausted all of their direct appeals in the state court system. There are two types of applications for leave to file a second or successive habeas corpus petition by a prisoner in state custody: the initial application and the successive application. An initial application is used when the prisoner is filing their first habeas corpus petition in federal court. The successive application is used when the petitioner has already filed a habeas corpus petition in federal court and needs to file another one. The application for leave to file a second or successive habeas corpus petition by a prisoner in state custody must be filed with a federal court in the district where the prisoner is located. The application must include a detailed description of the claims or issues that the petitioner would like to raise, a statement of facts supporting the claims, and a statement explaining why the claims could not have been raised in the first petition. The application must also include a copy of the prisoner's state court record.