The New York Police Department – said to be the largest police force in the nation – is in the grip of a "troubling" shakeup, as retirements and resignations continue to mount, officials said.

Union officials and others say the exodus is being fueled in part by pressure by racial justice advocates to defund police departments or impose major reforms.

The NYPD said in an email to Fox News this week that 2,385 officers have submitted their retirement papers this year as of Oct. 6 – an 87% increase from the 1,274 retirements reported during the same period in 2019.

The department said 372 others have resigned as of Oct. 6, five more than last year.

This is what happens when elected officials play political games with police department operations.

— PBA President Patrick Lynch 

From March 26 to Oct. 5, 1,838 officers retired, compared to 999 during the same period in 2019, a surge of 84%, the NYPD said.

Police officers in riot gear stand by in Times Square during a protest in Manhattan in New York, Monday, June 1, 2020. (AP Photo/Seth Wenig)

'DEFUND POLICE' MOVEMENT DRIVES OFFICERS TOWARD TRUMP

“The NYPD has seen a surge in the number of officers filing for retirement,” a spokesperson said in an email to Fox News this week. “While the decision to retire is a personal one and can be attributed to a range of factors, it is a troubling trend that we are closely monitoring.”

As of this week, the department’s headcount stood at just under 34,500, according to an NYPD spokesperson. 

One of the most prominent losses was Chief of Patrol Fausto Pichardo, who oversees the “largest and most visible” unit within the NYPD -- the Patrol Services Bureau.

Outgoing NYPD Chief of Patrol Fausto Pichardo (NYPD)

NYPD'S CHIEF OF PATROL FAUSTO PICHARDO RESIGNS OVER RIFT WITH DE BLASIO

Pichardo, the NYPD’s first Dominican chief of patrol, filed for retirement Tuesday after more than two decades on the job. He has held the position since Dec. 5, 2019.

Police Commissioner Dermot Shea lauded Pichardo, 43, for his service at the helm of the Patrol Services Bureau, telling local affiliate FOX 5 that the department is also losing “a friend and a member of our blue family.”

“Fausto, when I tabbed him last year to be the chief of patrol, I never hesitated for a second, and I never regretted the decision for a second,” Shea said, calling him a “consummate professional.”

“Probably one of the most well-rounded individuals that we have. The total package. [A] huge loss and I wish him the best of luck.”

Shea previously told PIX 11 that "putting it mildly ... I was surprised that he’s leaving.”

In his own announcement Wednesday, Pichardo thanked Shea and Mayor Bill de Blasio for “always trusting and supporting” him.

But sources first told the New York Post and later confirmed to Fox News, that Pichardo’s decision to retire was spurred in part by de Blasio’s micromanaging.

“I think he knew better to call Shea and beat him up, so ... he called Pichardo instead, and he had enough,” a law enforcement source told Fox News. “I believe that it was a steady drumbeat” that got “louder and louder,” until “it ultimately led to” his retirement, the source said.

POLICE UNION SLAMS NYC LEADERS FOR 'AMATEUR-HOUR MEDDLING' THAT DROVE CHIEF OUT

Other sources told the Post that de Blasio, a Democrat, berated Pichardo for missing a phone call following an hours-long shift responding to recent unrest in Brooklyn, where crowds including Orthodox Jews protested against state coronavirus restrictions.

De Blasio “routinely loses his s--t about missed phone calls,” a source told the Post, which provided multiple examples of the mayor’s controlling behavior toward Pichardo.

“This is nothing but inappropriate meddling from a person who doesn’t know anything about patrol — even though he has been here for seven years,” the source added.

Pichardo is expected to step down within the next 30 days. 

Patrick J. Lynch, president of the NYPD union representing officers, wrote in a statement shared on Twitter that Pichardo’s departure “is what happens when elected officials play political games with police department operations. … City Hall’s amateur-hour meddling has left the NYPD broken, almost beyond repair.”

Lynch said public safety was “suffering” as top talent from all ranks in the department was “being driven out the door.”

In a statement to Fox News on Friday, Lynch said the NYPD “has never seen so much talent and experience walking off the job as we have these past few months.”

“This is the highest attrition rate we have seen in over a decade, during a time we are battling enormous spikes in shootings and murders,” Lynch wrote. “And thanks to the City Council and Mayor’s ‘Defund the Police’ lunacy, no help is coming any time soon. Our elected leaders need to be held responsible for the dangerous path they’ve chosen.”

Asked about the media reports surrounding Pichardo’s decision, de Blasio fired back that it was “a personal decision based on personal and family factors.”

“I spoke to him last night several times. I spoke to him this morning,” the mayor said during a Wednesday press conference. He later added: “There was one thing we needed to talk about, and I think there was some miscommunication.”

CLICK HERE TO GET THE FOX NEWS APP

Shea's job may also be in jeopardy.

The Post reported earlier this week that the seven Democratic candidates currently running for mayor in 2021 are unanimous in saying they would fire Shea if elected.

Shea responded by telling PIX 11: “It’s good to see that I have finally succeeded in uniting New Yorkers, I guess."

The candidates also had less than favorable things to say about de Blasio, with all agreeing that they would not accept his endorsement if offered.