VIRGINIA (WVNS) — Virginia Governor Ralph Northam has signed a bill into law that will raise the minimum age to buy tobacco from 18 to 21-years-old.

Northam signed House Bill 2748 into law Thursday afternoon. The bill states in Virginia you must be 21 to buy tobacco, nicotine, and vapor products, including e-cigarettes. The law would also only allow vending machines with those products to be in non-public places that are not easily accessible to people under the age of 21.

The bill was created in hopes to address the epidemic of teenage vaping and smoking. According to Virginia Foundation for Healthy Youth, in 2018, nearly 12% of high schoolers use e-cigarettes.

Hawaii, California, Oregon, New Jersey, Maine and Massachusetts have also made 21 the minimum age to buy tobacco products.