C. Except as provided in subsection C1, any person who violates this section with respect to a controlled substance classified in Schedule I or II shall upon conviction be imprisoned for not less than five nor more than 40 years and fined not more than $500,000. Upon a second conviction of such a violation, and it is alleged in the warrant, indictment, or information that the person has been before convicted of such an offense or of a substantially similar offense in any other jurisdiction, which offense would be a felony if committed in the Commonwealth, and such prior conviction occurred before the date of the offense alleged in the warrant, indictment, or information, any such person may, in the discretion of the court or jury imposing the sentence, be sentenced to imprisonment for life or for any period not less than five years, three years of which shall be a mandatory minimum term of imprisonment to be served consecutively with any other sentence, and he shall be fined not more than $500,000. When a person is convicted of a third or subsequent offense under this subsection and it is alleged in the warrant, indictment or information that he has been before convicted of two or more such offenses or of substantially similar offenses in any other jurisdiction which offenses would be felonies if committed in the Commonwealth and such prior convictions occurred before the date of the offense alleged in the warrant, indictment, or information, he shall be sentenced to imprisonment for life or for a period of not less than 10 years, 10 years of which shall be a mandatory minimum term of imprisonment to be served consecutively with any other sentence, and he shall be fined not more than $500,000.
Any person who manufactures, sells, gives, distributes or possesses with the intent to manufacture, sell, give, or distribute the following is guilty of a felony punishable by a fine of not more than $1 million and imprisonment for five years to life, five years of which shall be a mandatory minimum term of imprisonment to be served consecutively with any other sentence:
1. 100 grams or more of a mixture or substance containing a detectable amount of heroin;2. 500 grams or more of a mixture or substance containing a detectable amount of: a. Coca leaves, except coca leaves and extracts of coca leaves from which cocaine, ecgonine, and derivatives of ecgonine or their salts have been removed;b. Cocaine, its salts, optical and geometric isomers, and salts of isomers;c. Ecgonine, its derivatives, their salts, isomers, and salts of isomers; ord. Any compound, mixture, or preparation that contains any quantity of any of the substances referred to in subdivisions 2a through 2c;3. 250 grams or more of a mixture or substance described in subdivisions 2a through 2d that contain cocaine base; or4. 10 grams or more of methamphetamine, its salts, isomers, or salts of its isomers or 20 grams or more of a mixture or substance containing a detectable amount of methamphetamine, its salts, isomers, or salts of its isomers. The mandatory minimum term of imprisonment to be imposed for a violation of this subsection shall not be applicable if the court finds that:
a. The person does not have a prior conviction for an offense listed in subsection C of § 17.1-805;b. The person did not use violence or credible threats of violence or possess a firearm or other dangerous weapon in connection with the offense or induce another participant in the offense to do so;c. The offense did not result in death or serious bodily injury to any person;d. The person was not an organizer, leader, manager, or supervisor of others in the offense, and was not engaged in a continuing criminal enterprise as defined in subsection I; ande. Not later than the time of the sentencing hearing, the person has truthfully provided to the Commonwealth all information and evidence the person has concerning the offense or offenses that were part of the same course of conduct or of a common scheme or plan, but the fact that the person has no relevant or useful other information to provide or that the Commonwealth already is aware of the information shall not preclude a determination by the court that the defendant has complied with this requirement.C1. Any person who violates this section with respect to the manufacturing of methamphetamine, its salts, isomers, or salts of its isomers or less than 200 grams of a mixture or substance containing a detectable amount of methamphetamine, its salts, isomers, or salts of its isomers shall, upon conviction, be imprisoned for not less than 10 nor more than 40 years and fined not more than $500,000. Upon a second conviction of such a violation, any such person may, in the discretion of the court or jury imposing the sentence, be sentenced to imprisonment for life or for any period not less than 10 years, and be fined not more than $500,000. When a person is convicted of a third or subsequent offense under this subsection and it is alleged in the warrant, indictment, or information that he has been previously convicted of two or more such offenses or of substantially similar offenses in any other jurisdiction, which offenses would be felonies if committed in the Commonwealth and such prior convictions occurred before the date of the offense alleged in the warrant, indictment, or information, he shall be sentenced to imprisonment for life or for a period not less than 10 years, three years of which shall be a mandatory minimum term of imprisonment to be served consecutively with any other sentence and he shall be fined not more than $500,000. Upon conviction, in addition to any other punishment, a person found guilty of this offense shall be ordered by the court to make restitution, as the court deems appropriate, to any innocent property owner whose property is damaged, destroyed, or otherwise rendered unusable as a result of such methamphetamine production. This restitution shall include the person's or his estate's estimated or actual expenses associated with cleanup, removal, or repair of the affected property. If the property that is damaged, destroyed, or otherwise rendered unusable as a result of such methamphetamine production is property owned in whole or in part by the person convicted, the court shall order the person to pay to the Methamphetamine Cleanup Fund authorized in § 18.2-248.04 the reasonable estimated or actual expenses associated with cleanup, removal, or repair of the affected property or, if actual or estimated expenses cannot be determined, the sum of $10,000. The convicted person shall also pay the cost of certifying that any building that is cleaned up or repaired pursuant to this section is safe for human occupancy according to the guidelines established pursuant to § 32.1-11.7.