If any person required to take an oath shall declare that he has religious scruples as to the propriety of taking it, he may make a solemn affirmation, which shall in all respects have the same effect as an oath.
Va. Code Ann. § 49-9
When affirmation may be made
Code 1919, § 278.
Official source: Virginia Law Portal (LIS). Reproduced from public-domain Virginia statutes; confirm against the official source for the current text. Not legal advice.