> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# Va. Code Ann. § 19.2-366 — Duty of court in which petition filed; certificate and opinion

- **Citation**: Va. Code Ann. § 19.2-366
- **Node Type**: section
- **Jurisdiction**: Virginia (state)
- **Code Body**: Code of Virginia (Aug. 2026 snapshot) (Va. Code Ann.)
- **Official Source**: [https://law.lis.virginia.gov/vacode/19.2-366/](https://law.lis.virginia.gov/vacode/19.2-366/)
- **Canonical URL**: [https://corpuslaw.us/codes/virginia/title-19-2/chapter-21/section-19-2-366](https://corpuslaw.us/codes/virginia/title-19-2/chapter-21/section-19-2-366)
- **Semantic URL**: [https://corpuslaw.us/codes/virginia/title-19-2/chapter-21/section-19-2-366](https://corpuslaw.us/codes/virginia/title-19-2/chapter-21/section-19-2-366)

## Hierarchy

Title 19.2 > Chapter 21

## Text

The court wherein such petition is filed shall hear all such testimony as may be offered, either by the petitioner or attorney for the Commonwealth, and after the evidence has been heard shall cause to be made out by the clerk of the court a certificate of the facts proved, and file with the same an opinion, in writing, as to the propriety of granting the relief prayed for.

Code 1950, § 19.1-355; 1960, c. 366; 1975, c. 495.
