Virginia § 37.2-844 - Habeas corpus as means
Full text of Virginia Code of Virginia § 37.2-844 — Habeas corpus as means, with citation guidance and answers to common questions.
§ 37.2-844. Habeas corpus as means
A. Any person held in custody because of his mental illness may by petition for a writ of habeas corpus have the question of the legality of his detention determined by a court of competent jurisdiction. Upon the petition, after notice to the authorities of the facility or other institution in which the person is confined, the court shall determine in a courtroom of the county or city or in some other convenient public place in that county or city, whether the person has a mental illness and whether he should be detained.
B. Any proceeding to challenge the continued secure inpatient treatment of a person held in custody as a sexually violent predator under Chapter 9 (§ 37.2-900 et seq.) of this title shall be conducted in accordance with § 37.2-910.
Code 1950, §§ 37-122, 37-123; 1950, p. 916; 1968, c. 477, § 37.1-103; 1976, c. 671; 2003, cc. 989, 1018; 2005, c. 716.
Source: official Virginia text · Last verified 2026-08-27
Frequently Asked Questions About Virginia § 37.2-844
What does Code of Virginia § 37.2-844 cover?
Section 37.2-844 ("Habeas corpus as means") is part of the Code of Virginia, the codified statutory law of Virginia. It sets out the legal rule or procedure described in the text above. Statutes are amended regularly, so always verify against the official source.
How do I cite Virginia § 37.2-844?
A common citation format is "Code of Virginia § 37.2-844" (Virginia). Legal writing may require the code abbreviation, section number, and year or edition. Match the style required by your court, professor, or publisher.
Is this the official text of Virginia law?
No. This page is for research and education and may not include the most recent amendments. For official current law, check the Virginia official source linked on this page or consult a licensed Virginia attorney.
How does Virginia § 37.2-844 apply to my situation?
Statutes are interpreted in context, and application depends on your specific facts. Only a licensed attorney in Virginia can advise on how this section applies to you. Contact your state or local bar association for a referral.
Sources & Verification
Not legal advice. Verify against the official source and consult a licensed attorney in Virginia.