CODE OF VIRGINIA ATTEMPTS TO COMMIT CAPITAL OFFENSES; HOW PUNISHED (§ 18.2-25) If any person attempts to commit an offense which is punishable with death, he shall be guilty of a Class 2 felony. HISTORY: Code 1950, § 18.1-16; 1960, c. 358; 1975, cc. 14, 15; 1985, c. 280.