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.

A lawyer for OutVets said late Friday that the group looked forward to "marching proudly" and representing LGBTQ veterans.

"We are honored and humbled by all the outpouring of support that has been displayed for our LGBTQ veterans - who are one of the most unrepresented demographics in our veterans community," said lawyer said Dee Dee Edmondson.

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.

South Boston Allied War Veterans Council member Edward Flynn said Friday night he was proud the group invited OutVets to be part of the parade. "South Boston is an inclusive community, and with this development, we are one step closer to a parade that reflects that spirit," he said.

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.

Edmondson, the OutVets lawyer, earlier Friday described the acceptance letter as "generic" and said it did not make fully clear whether the gay group would be allowed to display its banner.

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 said in a statement Thursday its decision had been misinterpreted.

"The council is accepting of all people and organizations, but it will not permit messages that conflict with the overall theme of the parade," the statement said.

That decision resulted in backlash from other veterans' organizations.

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

The Michael J. Perkins American Legion Post said it had withdrawn from the council.

The Perkins post in a statement on its Facebook page didn't mention the OutVets decision but said it decided to withdraw because "recent efforts by several non-veteran parade volunteers to guide decision making has resulted in the subversion of the council as an organization being led by veterans."

Another former member of the council, the Thomas J. Fitzgerald VFW Post, assailed the council's decision to bar OutVets.

The Fitzgerald post withdrew from the council last year over the decision to bar Veterans for Peace.