In Maryland, you'll be need to be 21 to buy cigarettes starting Tuesday.

The law will raise the age to purchase cigarettes, cigars and vaping products from 18 to 21 for all residents except active-duty military members. The bill passed this year, and lawmakers say it's an effort to prevent young people from getting hooked on nicotine. Fourteen other states have similar legislation.

The law goes into effect as the Centers for Disease Control and Prevention investigates a mysterious lung illness among vapers, and the federal government moves to ban flavors that appeal to young people.

The Baltimore Sun reports that enforcement will focus on sellers, not underage people who own the products. Retailers that break the law will face fines.