AURORA, Ill. — Sunday’s Aurora Pride Parade is back on.

Hours after a judge upheld the city’s decision to pull its permit for the Aurora’s Pride Parade following appeals, the city announced it worked with the police department to obtain enough officers to provide security at the event. The city pulled the permit after organizers couldn’t find enough officers to work the parade before Wednesday’s deadline.

Officials say they offered a triple-time incentive to get officers to sign up.

The move comes after an appeals hearing Thursday morning, amid an ongoing tug-of-war between city hall, the police department and parade organizers.

The third annual parade is scheduled for noon on Sunday.

The controversy started in May when organizers told the police department they did not want uniformed officers marching in the parade, citing what they call a violent and oppressive history with the LGBTQ community.

They instead suggested officers wear soft uniforms such as a polo T-shirt, patch or logo. The suggestion did not sit well with police or Aurora Mayor Richard Irvin, who is running as a Republican for Illinois governor and has taken a very pro-police stance.

In response, the mayor said he would not walk in the parade and pulled the city’s float.

“The request to have police march in the parade route without uniforms was an opportunity for them to get creative,” said Luma Webster, the executive director of Indivisible Aurora.

Police said the department was about 20 volunteer officers short. Organizers could not fill the gap with officers from other jurisdictions before Wednesday’s deadline, so the city pulled the permit for the parade.

Aurora resident Tracey Sherman said she was in disbelief over the judge’s decision, adding, “how can an event that is so amazing be canceled?”

A Pride Flag Raising Ceremony was held Friday morning to kick off the weekend’s festivities.