New York City's largest police union said Wednesday it will initiate legal action in response to Mayor Bill de Blasio's mandate that all city employees get vaccinated for COVID-19 or be placed on unpaid leave. 

The mayor announced the requirement Wednesday, pitting himself against public employees, including police officers and firefighters who have refused to get the shots. De Blasio gave municipal employees until Nov. 1 to get their first vaccine shot. 

As an incentive, he said those who receive a dose by Oct. 29 would get an extra $500 in their paycheck. 

PFIZER-BIONTECH SUBMIT COVID-19 VACCINE DATA TO FDA FOR KIDS 5-11

New York Mayor Bill de Blasio delivers his remarks in Times Square after he toured the grand opening of a Broadway COVID-19 vaccination site intended to jump-start the city's entertainment industry, in New York, in this Monday, April 12, 2021, file photo. (AP Photo/Richard Drew, File)

New York Mayor Bill de Blasio delivers his remarks in Times Square after he toured the grand opening of a Broadway COVID-19 vaccination site intended to jump-start the city's entertainment industry, in New York, in this Monday, April 12, 2021, file photo. (AP Photo/Richard Drew, File)

"My job as your mayor is to keep this city safe, keep this city healthy," he said. "And vaccination is the way."

The Police Benevolent Association, which represents rank-and-file officers, said it will proceed with legal action to "protect our members' rights."

"From the beginning of the de Blasio administration's haphazard vaccine rollout, we have fought to make the vaccine available to every member who chooses it, while also protecting their right to make that personal medical decision in consultation with their own doctor," PBA President Pat Lynch said in a statement. 

He said the city was now unilaterally imposing a mandate. Nearly 70% of the New York Police Department is vaccinated. More than 60 NYPD employees have died of COVID-19

WHITE HOUSE UNVEILS VACCINATION ROLLOUT PLAN FOR KIDS 5-11 AHEAD OF POSSIBLE AUTHORIZATION

New York City will require police officers, firefighters and other municipal workers to be vaccinated against COVID-19 or be placed on unpaid leave, Mayor Bill de Blasio said Wednesday, Oct. 20, 2021, giving an ultimatum to public employees who’ve refused and ensuring a fight with some of the unions representing them. (AP Photo/Mark Lennihan, File)

New York City will require police officers, firefighters and other municipal workers to be vaccinated against COVID-19 or be placed on unpaid leave, Mayor Bill de Blasio said Wednesday, Oct. 20, 2021, giving an ultimatum to public employees who’ve refused and ensuring a fight with some of the unions representing them. (AP Photo/Mark Lennihan, File)

Fox News has reached out to De Blasio's office and the union. 

The New York Fire Department has lost 16 workers to the virus. During a press conference after the mayor's announcement, the FDNY Uniformed Firefighters Association of Greater New York said it was also against a vaccine mandate. 

"We in the UFA have always been pro-vaccine, but we are also pro-choice and anti-mandate," said union President Andrew Ansbro, AMNY reported. "Since the pandemic has started, we were all told that our salvation would come when we reached herd immunity. I’m here to say that after 55% of all members have been vaccinated 75-70% have been sick, New York City firefighters have reached herd immunity." 

Andrew Ansbro, FDNY Uniformed Firefighters Association President, speaks during a news conference to address a newly announced COVID-19 vaccine mandate on Wednesday in New York. (AP Photo/John Minchillo)

Andrew Ansbro, FDNY Uniformed Firefighters Association President, speaks during a news conference to address a newly announced COVID-19 vaccine mandate on Wednesday in New York. (AP Photo/John Minchillo)

Police Commissioner Dermot Shea and Fire Commissioner Daniel Nigro have said they support a vaccine mandate. 

"The science, to health, the emergency situation that we're in, it makes sense," Shea said during a press briefing earlier this month. 

De Blasio previously mandated public school teachers get vaccines. 

Co-teachers at Yung Wing School P.S. 124 Marisa Wiezel (who is related to the photographer), left, and Caitlin Kenny give a lesson to their masked students in their classroom on Sept. 27, 2021 in New York City.  

Co-teachers at Yung Wing School P.S. 124 Marisa Wiezel (who is related to the photographer), left, and Caitlin Kenny give a lesson to their masked students in their classroom on Sept. 27, 2021 in New York City.   (Michael Loccisano/Getty Images)

 CLICK HERE TO GET THE FOX NEWS APP

Elsewhere in the city, everyone must show proof of vaccination to eat inside restaurants and attend and play in sporting events. That provision has pitted Brooklyn Nets star Kyrie Irving against the team. He has been banned from playing or practicing over his refusal to get vaccinated. 

The Associated Press contributed to this report.