NEW YORK (CBSNewYork/AP) — The new year means no more plastic foam coffee cups, takeout containers or packing peanuts in most places in the nation’s largest city.

New York City’s long-planned ban took effect Tuesday.

The prohibition includes food containers and loose packing fill made from what’s known as expanded polystyrene. Exceptions include butcher-counter containers for raw meat.

City lawmakers approved the ban in 2013, but a lawsuit from the restaurant industry held it off for years. A judge ruled this past June that it could go forward.

City officials say the containers clog up landfills and pose other environmental problems.

“When this goes into a landfill, it takes eons to break down, and when it breaks down it only lets out toxins,” de Blasio said on Tuesday. “Every single one of these is made out of petroleum and that’s the problem to begin with.”

Manufacturers and the restaurant industry argued it was feasible to recycle the items.

Dozens of communities around the country have enacted some form of plastic foam ban in recent years.

Fines for the ban won’t be imposed for six months.

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)