BUFFALO, N.Y. (AP) — City officials in upstate New York have passed a law limiting smoking in public parks.

The Buffalo Common Council voted Tuesday to pass the smoking ban in city parks. Under the measure, traditional tobacco products and electronic cigarettes will be prohibited. Officials are expected to make designated areas for smoking in some parks.

Council president Darius Pridgen says he hopes the new city law can keep air clean for children and save them from the detrimental effects of secondhand smoke.

The proposed law now heads to Mayor Byron Brown for approval.