Task: Text Completion
Input (English): provided the convictions occurred, as here, in a single trial.” 236 Va. at 351, 374 S.E.2d at 303. Thus, upon comple tion of the substantive crime, the crime’s actual perpetrator may be convicted and punished at the same trial for both the substantive crime and the underlying conspiracy. Additionally, Code § 18.2-18 provides that “every principal in the second degree and every accessory before the fact may be indicted, tried, convicted and punished in all respects as if a principal in the first degree.” The statute’s purpose is to ensure that any person who participates as an accomplice in a substantive crime is equally accountable and subject to the same punishment as the actual perpetrator of the crime. See Charlton v. Commonwealth, 32 Va.App. 47, 52, 526 S.E.2d 289, 292 (2000) (<HOLDING>). It is clear, therefore, from the 
 Holding statements: (A) holding that before the accessory to a crime can be convicted as such it must be shown that the crime has been committed by the principal (B) holding that it is within the power of the legislature to determine that the community should be beautiful as well as healthy spacious as well as clean wellbalanced as well as carefully patrolled (C) holding that code  18218 directs that an accessory before the fact is accountable in all respects as the principal who carries out the intended crime as well as any of its natural probable and incidental crimes (D) holding that an indictment is sufficient as long as it fully and clearly sets out the crime and the elements of the offense even if the evidence consists of proof of other means of committing the same crime (E) holding that a similarly situated employee is one who is comparable to plaintiff in all material respects
Output (English): (C)