This is from VA law.
§ 18.2-282. Pointing, holding, or brandishing firearm, air or gas operated weapon or object similar in appearance; penalty.
A. It shall be unlawful for any person to point, hold or brandish any firearm or any air or gas operated weapon or any object similar in appearance, whether capable of being fired or not, in such manner as to reasonably induce fear in the mind of another or hold a firearm or any air or gas operated weapon in a public place in such a manner as to reasonably induce fear in the mind of another of being shot or injured. However, this section shall not apply to any person engaged in excusable or justifiable self-defense. Persons violating the provisions of this section shall be guilty of a Class 1 misdemeanor or, if the violation occurs upon any public, private or religious elementary, middle or high school, including buildings and grounds or upon public property within 1,000 feet of such school property, he shall be guilty of a Class 6 felony.