The Petition for Writ of Habeas Corpus By A Person in State Custody is a legal form aimed at individuals held in state custody, specifically those in Greene County in Kings. It allows a petitioner to challenge the legality of their imprisonment under the federal statute 28 U.S.C. Section 2254. This petition includes critical information such as the petitioner's personal details, the circumstances of their conviction, and claims of ineffective assistance of counsel and lack of mental competency during trial. To complete the form, users must fill in personal identifiers, details of the original conviction, and specific arguments for relief, which can be attached as exhibits. It is especially useful for attorneys and legal professionals seeking to advocate for clients who may be unjustly imprisoned and encountering mental health challenges. The utility of this form extends to paralegals and legal assistants who may assist in gathering case facts and supporting documentation. Effective use of this form may lead to an evidentiary hearing, allowing for the petitioner's release or transfer to a more appropriate mental health facility.