BOSTON – Organizers of the city’s St. Patrick’s Day parade reversed course on Friday and said they would allow a group of gay veterans to march in this year’s parade.

The South Boston Allied War Veterans Council announced on the parade’s Twitter account that it had signed an “acceptance letter” that would clear the way for OutVets to participate.

It was unknown if OutVets would agree to the invitation to march, and messages left with the group weren’t immediately returned.

An earlier vote by the council to bar OutVets from marching drew immediate condemnation from high-profile politicians, some of whom said they would not march if the gay veterans were excluded. It caused some sponsors to back out and stirred up a furor on social media.

It was unclear if the reversal of the decision was a result of a second vote by the council.

“I decided this is a wrong that has to be corrected,” the parade’s lead organizer, Tim Duross, told WHDH-TV.

Earlier Friday, OutVets executive director Bryan Bishop said the vets had been told the original decision to bar them was because of their rainbow symbols.

Bishop said the council offered to allow the group to march if its members did not display the rainbow flag, a symbol of gay pride, which is on their banner and their jackets.

The group said no.

“I almost fell out of the chair at that point, said, ‘You gotta be kidding me,’ ” Bishop said.

He said OutVets has displayed the rainbow at the parade the last two years.

“It infuriates me to look at the veterans that I know, gay and straight, who have served this country with valor and honor and distinction, and just because you’re a veteran who happens to be gay your service is somehow less than someone who is not of the LGBT community or someone who’s not gay,” he said.

Another veterans group, Veterans for Peace, said it also had been denied permission to participate. That group has been trying unsuccessfully for several years to march.

OutVets was first allowed to participate in the parade in 2015, in what was seen as a groundbreaking decision after parade organizers had, for decades, resisted the inclusion of gay groups. The case went to the U.S. Supreme Court, which in 1995 upheld the council’s right to bar gay groups on free speech grounds.

The council is made up of representatives from several South Boston American Legion and Veterans of Foreign Wars posts.