New York City has agreed to delay enforcement of a federal rule governing calorie and nutrient labels on foods.

The Food Marketing Institute and other organizations that had filed a lawsuit requesting the delay settled with the city in U.S. District Court for the Southern District of New York on Aug. 25, according to an FMI news release. The United States Food and Drug Administration rule doesn’t go into effect until May 2018, but the city had threatened to begin enforcing it in August.

Also on Aug. 25, the FDA announced it would provide guidance to the industry by the end of the year on compliance with the rule, which requires restaurants to put calorie counts on menus. The rule was initially set to go into effect in 2014, but industry concerns over implementation and costs delayed it.

FMI and three other groups —the National Association of Convenience Stores, the New York Association of Convenience Stores and the Restaurant Law Center — filed the suit, arguing that New York City could not supersede federal law.