Before you celebrate July 4th in James City County, Williamsburg, York County and Newport News, sparklers are illegal.
This article provided a reminder that Virginia law prohibits fireworks for private use. Although fireworks are prohibited, Section 3301.7 of the State Fire Prevention Code permits "sparklers, fountains, Pharaoh’s serpents, caps for pistols, or pinwheels commonly known as whirligigs or spinning jennies." I googled to find information on "Pharaoh's serpent," and the James City County Fire Prevention Code came up. Certain localities have modified the SFPC, so sparklers (and Pharaoh's serpent) have been made illegal. I guess there's a law for everything.