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.

READ MORE: Judge Lifts Temporary Pause On Vaccine Mandate For NYC Teachers And Other City Workers, Who Now Must Be Vaccinated By Monday

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.

READ MORE: 'I Want A Proper Education': Some NYC Public School Students With Medical Exemptions From In-Person Instruction Feel They're Falling Behind

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.

MORE NEWS: Mattress Giveaway In Queens Highlights Depth Of Need That Remains 3 Weeks After Ida

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