Florida cities are pulling funding from various events before a new law bans promoting diversity, equity and inclusion. Officials in Delray Beach canceled a St. Patrick’s Day parade, while other areas cut grants for festivals. Gov. Ron DeSantis said the parade cancellation was "malicious compliance" aimed at scoring political points.

Cities and counties are pulling funding from groups and events they've long supported before a new law bars them from promoting diversity, equity and inclusion activities.

A Florida law set to take effect in January prompted officials in Delray Beach this month to pre-emptively cancel the city's St. Patrick's Day parade, drawing national headlines and outrage across the political divide.

The decision was but one example of how governments and cultural organizations across the state are hustling to comply with the law, which Gov. Ron DeSantis, a Republican, signed in the spring as part of a broader crackdown on diversity, equity and inclusion activities. But Republican lawmakers and Mr. DeSantis, who likes to say Florida is "where woke goes to die," may not have expected quite this much upheaval.

In the Florida Keys, officials have cut grants for Pride events, drag shows and an Italian heritage organization, while a decades-old women's flag football tournament added a men's division to keep its public funding. Broward County can't fund a Greek film festival, a boy's choir or a women's tennis tournament, according to one commissioner, citing legal advice from the county attorney's office.

Officials in Fernandina Beach, near Jacksonville, issued a proclamation celebrating a Hispanic heritage festival, only to learn minutes later from the town attorney that doing so will be illegal next year.

The law bans local governments from directly or indirectly funding, promoting, or taking official action related to D.E.I.-related activities. And it defines D.E.I. as anything promoting or providing preferential treatment or special benefits based on "race, color, sex, ethnicity, gender identity, or sexual orientation."

Mr. DeSantis called Delray Beach's parade cancellation "malicious compliance" aimed at scoring political points; the city's mayor told The South Florida Sun-Sentinel that its legal department deemed the parade an "ethnic" event that promotes a certain group.