{"formats":[{"name":"JSON","format":"json","url":"\/downloads\/2026\/code-json\/18.2-26.json"},{"name":"Plain Text","format":"text","url":"\/downloads\/2026\/code-text\/18.2-26.txt"},{"name":"XML","format":"xml","url":"\/downloads\/2026\/code-xml\/18.2-26.xml"},{"name":"HTML","format":"html","url":"\/downloads\/2026\/code-html\/18.2-26.html"}],"law_id":350577,"edition_id":2,"section_id":350577,"structure_id":50161,"section_number":"18.2-26","catch_line":"Attempts to commit felonies other than Class 1 felony offenses; how punished","history":"Code 1950, \u00a7\u00a7 18.1-17, 18.1-18; 1960, c. 358; 1975, cc. 14, 15; 1994, c. 639; 2021, Sp. Sess. I, cc. 344, 345.","full_text":"Except as provided in \u00a7 18.2-25, every person who attempts to commit an offense that is a felony shall be punished as follows:\n\n1\n\nIf the felony attempted is punishable by a maximum punishment of life imprisonment or a term of years in excess of twenty years, an attempt thereat shall be punishable as a Class 4 felony.\n\n2\n\nIf the felony attempted is punishable by a maximum punishment of twenty years&#8217; imprisonment, an attempt thereat shall be punishable as a Class 5 felony.\n\n3\n\nIf the felony attempted is punishable by a maximum punishment of less than twenty years&#8217; imprisonment, an attempt thereat shall be punishable as a Class 6 felony.\n\n","order_by":null,"text":{"0":{"id":1306038,"text":"Except as provided in \u00a7 18.2-25, every person who attempts to commit an offense that is a felony shall be punished as follows:","type":"section","prefixes":[""],"prefix":"","entire_prefix":"","prefix_anchor":"","level":1,"next_prefix":"1"},"1":{"id":1306039,"text":"If the felony attempted is punishable by a maximum punishment of life imprisonment or a term of years in excess of twenty years, an attempt thereat shall be punishable as a Class 4 felony.","type":"section","prefixes":["1"],"prefix":"1","entire_prefix":"1","prefix_anchor":"1","level":1,"prior_prefix":"","next_prefix":"2"},"2":{"id":1306040,"text":"If the felony attempted is punishable by a maximum punishment of twenty years&#8217; imprisonment, an attempt thereat shall be punishable as a Class 5 felony.","type":"section","prefixes":["2"],"prefix":"2","entire_prefix":"2","prefix_anchor":"2","level":1,"prior_prefix":"1","next_prefix":"3"},"3":{"id":1306041,"text":"If the felony attempted is punishable by a maximum punishment of less than twenty years&#8217; imprisonment, an attempt thereat shall be punishable as a Class 6 felony.","type":"section","prefixes":["3"],"prefix":"3","entire_prefix":"3","prefix_anchor":"3","level":1,"prior_prefix":"2"}},"ancestry":[{"id":50161,"edition_id":2,"name":"Attempts","identifier":"2","label":"article","depth":3,"order_by":2,"parent_id":50155,"metadata":{"child_laws":5,"child_structures":0},"date_created":"2026-08-02 02:23:35","date_modified":"2026-08-02 12:30:16","permalink":{"id":1391743,"object_type":"structure","relational_id":50161,"identifier":"2","token":"18.2\/3\/2","url":"\/18.2\/3\/2\/","edition_id":2,"permalink":0,"preferred":1}},{"id":50155,"edition_id":2,"name":"Inchoate Offenses","identifier":"3","label":"chapter","depth":2,"order_by":3,"parent_id":50131,"metadata":{"child_laws":9,"child_structures":2},"date_created":"2026-08-02 02:23:28","date_modified":"2026-08-02 12:30:16","permalink":{"id":1391723,"object_type":"structure","relational_id":50155,"identifier":"3","token":"18.2\/3","url":"\/18.2\/3\/","edition_id":2,"permalink":0,"preferred":1}},{"id":50131,"edition_id":2,"name":"Crimes and Offenses Generally","identifier":"18.2","label":"title","depth":1,"order_by":52,"parent_id":null,"metadata":{"child_laws":960,"child_structures":94},"date_created":"2026-08-02 02:22:59","date_modified":"2026-08-02 12:30:15","permalink":{"id":1391141,"object_type":"structure","relational_id":50131,"identifier":"18.2","token":"18.2","url":"\/18.2\/","edition_id":2,"permalink":0,"preferred":1}}],"structure_contents":[{"id":350544,"structure_id":50161,"section_number":"18.2-25","catch_line":"Attempts to commit Class 1 felony offenses; how punished","url":"\/18.2-25\/","token":"18.2\/3\/2\/18.2-25","metadata":false},{"id":350577,"structure_id":50161,"section_number":"18.2-26","catch_line":"Attempts to commit felonies other than Class 1 felony offenses; how punished","url":"\/18.2-26\/","token":"18.2\/3\/2\/18.2-26","metadata":false},{"id":350625,"structure_id":50161,"section_number":"18.2-27","catch_line":"Attempts to commit misdemeanors; how punished","url":"\/18.2-27\/","token":"18.2\/3\/2\/18.2-27","metadata":false},{"id":350641,"structure_id":50161,"section_number":"18.2-28","catch_line":"Maximum punishment for attempts","url":"\/18.2-28\/","token":"18.2\/3\/2\/18.2-28","metadata":false},{"id":350662,"structure_id":50161,"section_number":"18.2-29","catch_line":"Criminal solicitation; penalty","url":"\/18.2-29\/","token":"18.2\/3\/2\/18.2-29","metadata":false}],"previous_section":{"id":350544,"structure_id":50161,"section_number":"18.2-25","catch_line":"Attempts to commit Class 1 felony offenses; how punished","url":"\/18.2-25\/","token":"18.2\/3\/2\/18.2-25","metadata":false},"next_section":{"id":350625,"structure_id":50161,"section_number":"18.2-27","catch_line":"Attempts to commit misdemeanors; how punished","url":"\/18.2-27\/","token":"18.2\/3\/2\/18.2-27","metadata":false},"metadata":false,"official_url":"https:\/\/law.lis.virginia.gov\/vacode\/18.2-26\/","history_text":"<p>The record of this law\u2019s original creation isn\u2019t available online. It has been modified 3 times. Those modifications are cataloged by \u201cThe Acts of Assembly,\u201d a state publication, by year and chapter. Those modifications that can be read on the General Assembly\u2019s website will be linked accordingly. Those modifications are as follows: in 1960, chapter 358; in 1975, chapters 14 and 15; in 1994, chapter <a href=\"https:\/\/legacylis.virginia.gov\/cgi-bin\/legp604.exe?941+ful+CHAP0639\">639<\/a>.<\/p>","references":[{"id":372302,"section_number":"58.1-4129","catch_line":"Conspiracies and attempts to commit violations; penalty","order_by":null,"url":"\/58.1-4129\/"},{"id":373078,"section_number":"59.1-405","catch_line":"Conspiracies and attempts to commit violations","order_by":null,"url":"\/59.1-405\/"}],"refers_to":[{"id":350544,"section_number":"18.2-25","catch_line":"Attempts to commit Class 1 felony offenses; how punished","order_by":null,"url":"\/18.2-25\/"}],"permalink":{"id":1391749,"object_type":"law","relational_id":350577,"identifier":"18.2-26","token":"18.2\/3\/2\/18.2-26","url":"\/18.2-26\/","edition_id":2,"permalink":0,"preferred":1},"url":"\/18.2-26\/","token":"18.2\/3\/2\/18.2-26","dublin_core":{"Title":"Attempts to commit felonies other than Class 1 felony offenses; how punished","Type":"Text","Format":"text\/html","Identifier":"\u00a7 18.2-26","Relation":"Code of Virginia"},"html":"\n\t\t\t\t\t\t<section><p>Except as provided in \u00a7&nbsp;<a class=\"law\" title=\"Attempts to commit Class 1 felony offenses; how punished\" href=\"\/18.2-25\/\">18.2-25<\/a>, every person who attempts to commit an <span class=\"dictionary\">offense<\/span> that is a <span class=\"dictionary\">felony<\/span> shall be punished as follows:<\/p><\/section>\n\t\t\t\t\t\t<section id=\"1\"><p><span class=\"prefix-number\">1.<\/span> If the <span class=\"dictionary\">felony<\/span> attempted is punishable by a maximum punishment of life imprisonment or a term of years in excess of twenty years, an attempt thereat shall be punishable as a Class 4 <span class=\"dictionary\">felony<\/span>. <a id=\"paragraph-1306039\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/18.2-26\/#1\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>\n\t\t\t\t\t\t<section id=\"2\"><p><span class=\"prefix-number\">2.<\/span> If the <span class=\"dictionary\">felony<\/span> attempted is punishable by a maximum punishment of twenty years&#8217; imprisonment, an attempt thereat shall be punishable as a Class 5 <span class=\"dictionary\">felony<\/span>. <a id=\"paragraph-1306040\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/18.2-26\/#2\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>\n\t\t\t\t\t\t<section id=\"3\"><p><span class=\"prefix-number\">3.<\/span> If the <span class=\"dictionary\">felony<\/span> attempted is punishable by a maximum punishment of less than twenty years&#8217; imprisonment, an attempt thereat shall be punishable as a Class 6 <span class=\"dictionary\">felony<\/span>. <a id=\"paragraph-1306041\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/18.2-26\/#3\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>","plain_text":"                                 CODE OF VIRGINIA\n\nATTEMPTS TO COMMIT FELONIES OTHER THAN CLASS 1 FELONY OFFENSES; HOW PUNISHED (\u00a7\n18.2-26)\n\nExcept as provided in \u00a7 18.2-25, every person who attempts to commit an offense\nthat is a felony shall be punished as follows:\n\n1. If the felony attempted is punishable by a maximum punishment of life\nimprisonment or a term of years in excess of twenty years, an attempt thereat\nshall be punishable as a Class 4 felony.\n\n2. If the felony attempted is punishable by a maximum punishment of twenty\nyears&#8217; imprisonment, an attempt thereat shall be punishable as a Class 5\nfelony.\n\n3. If the felony attempted is punishable by a maximum punishment of less than\ntwenty years&#8217; imprisonment, an attempt thereat shall be punishable as a\nClass 6 felony.\n\nHISTORY: Code 1950, \u00a7\u00a7 18.1-17, 18.1-18; 1960, c. 358; 1975, cc. 14, 15; 1994,\nc. 639; 2021, Sp. Sess. I, cc. 344, 345.","edition":{"id":2,"name":"2026","slug":"2026","date_created":"2026-07-16 18:40:23","date_modified":"2026-08-02 15:14:36","current":1,"order_by":2,"last_import":"2026-08-02 12:37:30"}}