NEW YORK (AP) — New York City's Board of Health has voted to extend last week's emergency declaration ordering mandatory measles vaccinations in four Brooklyn ZIP codes.

The continuing order, which was voted unanimously on Wednesday, will end when health officials declare the emergency is over. It applies to children ages 6 months and older with fines for noncompliance.

New York City has struggled to contain a measles outbreak centered in ultra-Orthodox Jewish neighborhoods in Brooklyn while battling a lawsuit over its effort to require vaccinations.

On Monday, the city closed the preschool portion of a private Jewish school because the school had failed to turn over vaccination and attendance records.

New York City has confirmed 329 cases of measles since the outbreak began in October.