A 32-ounce soda is filled at a Manhattan McDonalds on September 13, 2012 in New York City. (Getty Images)
NEW YORK (NBC) -- How sweet it is -- for sugar-lovers anyway.
A judge on Monday invalidated New York City's plan to ban large sugary drinks from restaurants and other eateries, one day before the new law was to take effect.
RELATED | Starbucks plans to defy NYC drinks ban
State Supreme Court Justice Milton Tingling in Manhattan ruled the new regulation was "arbitrary and capricious" and declared it invalid, after the American Beverage Association and other business groups had sued the city challenging the ban.
Mayor Michael Bloomberg had touted the ban as a way to reduce obesity.
RELATED | Bloomberg to appeal ruling striking down drink ban
But beverage manufacturers and business groups had called the law an illegal overreach that would infringe upon consumers' personal liberty.