A new law banning the use of electronic cigarettes in areas covered by the Clean Indoor Air Act will take effect on Thursday in New York State.

The law was passed by the Senate in June and is designed to protect people who do not want to be exposed to secondhand vapor.

Lawmakers also hope the new law will discourage the use of e-cigarettes by youth.

“I am proud to have sponsored this legislation which will make restaurants and other indoor areas vape free, protecting workers and patrons who do not wish to be exposed to the various chemicals contained in electronic cigarettes,” said Senator Kemp Hannon.

The American Cancer Society, American Heart Association, and the American Lung Association support the new law.