Reversing an earlier decision, San Francisco police said that they will march in the city’s annual Pride Parade this month after coming to an agreement with parade organizers, who had previously said officers could not wear their uniforms at the event.

The San Francisco Police Officers Pride Alliance came to the agreement with Pride organizers who had voted in 2020 to ban officers in uniform after a summer of nationwide protests against police brutality.

Police, who had been joined by the city’s firefighters and sheriff’s deputies in saying they would not walk in the June 26 parade because of the policy, will now be part of a contingent of first responders participating in the parade along with Mayor London Breed. Breed had previously announced that she would not attend the parade in response to the controversy.

Police Chief Bill Scott said in a statement that he was “very pleased” about the agreement, and said all parties are “committed to continuing the very important conversations that have taken place over the last 18 months.”

Recently appointed Supervisor Matt Dorsey, who had also said he would not participate in Pride because of the policy, thanked everyone involved for “coming to the table with a spirit of collaboration and consensus, and getting this done.”