Studies show that sugary drinks have been linked to rising obesity and health care costs in the US. But a judge says that New York City’s attempt to ban the sale of large servings of the soft drinks is a step too far.

The measure would have regulated the sale of sugary drinks larger than 16 ounces, about half a litre.

Michael Bloomberg, the city’s mayor, pushed for the ban and said he would appeal against the decision.

Al Jazeera’s Kristen Saloomey reports from New York.