The repeal of Title 19.1 effective as of October 1, 1975, shall not affect any act or offense done or committed, or any penalty or forfeiture incurred, or any right established, accrued, or accruing on or before such date, or any prosecution, suit or action pending on that day. Except as herein otherwise provided, neither the repeal of Title 19.1 nor the enactment of this title shall apply to offenses committed prior to October 1, 1975, and prosecutions for such offenses shall be governed by the prior law, which is continued in effect for that purpose. For the purposes of this section, an offense was committed prior to October 1, 1975, if any of the essential elements of the offense occurred prior thereto.
Va. Code § 19.2-2