The local Board of Health has voted to make New York the nation’s first city to ban artery-clogging artificial trans fats at restaurants — from the corner pizzeria to high-end bakeries.

The board, which passed the ban unanimously, did give restaurants a slight break by relaxing what had been considered a tight deadline for compliance. Restaurants will be barred from using most frying oils containing artificial trans fats by July and will have to eliminate the artificial trans fats from all of their foods by July 2008.