Massachusetts officially plans to join the majority of the United States in enacting a statewide ban on the sale of e-cigarettes to minors.

Attorney General Maura Healey’s office announced Monday that it completed new rules that were proposed earlier this year to standardize regulations on the sale of e-cigarettes to minors across Massachusetts. Individual municipalities were previously left in charge of deciding their own rules on sales to minors.

Until now, minors could technically buy an e-cigarette in Massachusetts unless the city or town set regulations that stated otherwise. But according to the Boston Globe, 152 municipalities in Massachusetts — including Boston — already enacted laws prohibiting sales to minors.