> 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).

# W. Va. Code § 27-6A-8 — Credit for time; expenses.

- **Citation**: W. Va. Code § 27-6A-8
- **Node Type**: section
- **Jurisdiction**: West Virginia (state)
- **Code Body**: West Virginia Code (W. Va. Code)
- **Official Source**: [https://code.wvlegislature.gov/27-6A-8/](https://code.wvlegislature.gov/27-6A-8/)
- **Canonical URL**: [https://corpuslaw.us/codes/west-virginia/chapter-27/article-27-6a/section-27-6a-8](https://corpuslaw.us/codes/west-virginia/chapter-27/article-27-6a/section-27-6a-8)
- **Semantic URL**: [https://corpuslaw.us/codes/west-virginia/chapter-27/article-27-6a/section-27-6a-8](https://corpuslaw.us/codes/west-virginia/chapter-27/article-27-6a/section-27-6a-8)

## Hierarchy

Chapter 27 — MENTALLY ILL PERSONS. > Article 27-6A — COMPETENCY AND CRIMINAL RESPONSIBILITY OF PERSONS CHARGED OR CONVICTED OF A CRIME.

## Text

27-6A-8. Credit for time; expenses.

(a) If a person is convicted of a crime, any time spent in involuntary confinement in a mental health facility or state hospital as a result of being charged with the crime shall be credited to the sentence.

(b) All inpatient care and treatment shall be paid by the department.

(c) All competency restoration services not covered by other government, third-party funding sources, or other grant agreements shall be paid by the department.
