The City Council voted Thursday to add electronic cigarettes to the city's smoking ban.
The Council voted 43 to 8 to include e-cigarettes in the Smoke Free Air Act, which bans smoking in restaurants, bars, private office buildings, and some public places like beaches and parks.
The Council says that many e-cigarettes look just like the real thing and threaten to re-introduce smoking in places where it's not allowed, as well as send the wrong message to children.
Opponents of the ban argued that e-cigarettes are a way to help smokers kick the habit.
The Council also approved a measure that could lead to a ban on plastic foam in take-out food containers, pending the results of a year-long study into whether the material can be recycled effectively.
Mayor Michael Bloomberg is expected to sign the legislation before his term wraps up at the end of the month.