Heralded as the safest big city in America in the recent past, New York City is closing out its bloodiest year in nearly a decade, grappling with a surge in homicides and a pandemic authorities say has helped fuel violence.

The city had recorded 447 killings as of Tuesday, a 41% increase over last year and the largest number since 2011. The number of people shot has more than doubled last year’s total, nearing a 14-year high.

Among the victims: a 1-year-old boy sitting in his stroller at a summer cookout; a 53-year-old teacher walking his dog; and a 43-year-old mother looking out the window of her child’s third-floor bedroom. All three were killed by stray bullets.

NEW YORK NEIGHBORHOOD RESIDENTS REPORT SQUIRREL ATTACKS

The death toll, however startling, pales in comparison to the bullet-riddled years of the early 1990s. Still, 2020 marked the third consecutive year of rising homicides after New York City recorded a modern-era low of 292 killings in 2017.

Police leaders are eagerly anticipating the turn of the calendar, pointing to unprecedented challenges officers faced as COVID-19 brought the city to its knees.

Crimefighting this year has been complicated by everything from budget constraints to the ubiquity of mask wearing. Clearance rates fell as detective squads were stricken by the virus, and faith in law enforcement faltered amid deaths of Black people at the hands of police.

"We’re definitely coming out of that dark period," Police Commissioner Dermot Shea said at police headquarters Tuesday. "The confluence of COVID into the protests into all of the debate about defunding the police — I can’t imagine a darker period."

In this July 18, 2020, file photo, police officers respond to a crime scene were two individuals were shot on Atlantic Avenue in the Brooklyn borough of New York. Heralded as the safest big city in America in recent years, New York City is closing out its bloodiest year in nearly a decade. (AP Photo/John Minchillo, File)

In this July 18, 2020, file photo, police officers respond to a crime scene were two individuals were shot on Atlantic Avenue in the Brooklyn borough of New York. Heralded as the safest big city in America in recent years, New York City is closing out its bloodiest year in nearly a decade. (AP Photo/John Minchillo, File)

The spike in violence started just as the pandemic began disrupting lives and shuttering businesses, and it reached a crescendo over the summer, as the city recorded an average 57 killings per month in July, August and September. By comparison, each of those months averaged 33 homicides in 2019.

The surge caught the attention of President Trump, who threatened in August to send federal agents to his hometown if local authorities couldn’t stop the bloodshed.

But New York’s crime spike paralleled an uptick in violence across the U.S. in a year shaped by pandemic-related restrictions and street protests against police violence in the wake of the killing of George Floyd in Minneapolis.

NYPD FATALLY SHOT MAN, 18, WHO CHARGED AT THEM WITH A MACHETE: REPORT

"The coronavirus has had a devastating impact on society in low-income communities, and it just adds to the social disorganization that exists," said Samuel Walker, a policing expert and professor emeritus at the University of Nebraska at Omaha.

In New York, police officials have blamed bail reforms that went into effect at the start of the year for putting offenders back on the streets, but there’s little evidence people freed from jail are behind the new crimes.

At the same time, the department has been dealing with a wave of retirements that Shea said "couldn’t go any higher," fewer recruits because of budget cuts and mid-year upheaval in its efforts to address gun violence.

The NYPD in June disbanded its plainclothes anti-crime units, which focused primarily on seizing illegal guns, amid criticism of their aggressive tactics and involvement in a disproportionate number of police shootings and complaints. The change came amid what Shea described as "an endless supply of guns."

In July, after a "Defund the Police" protest became a full-blown occupation outside City Hall, the city shifted $1 billion out of the police budget by moving school security functions back to the city’s school system, cutting overtime and eliminating a nearly 1,200-person class of recruits.

Despite the challenges, New York remains far safer than in the early 1990s, when there were more than 2,000 killings per year.

CLICK HERE FOR THE FOX NEWS APP

It’s also statistically less dangerous than many of the other big cities also seeing an increase in killings. The nation’s largest city, with about 8.3 million residents, New York City has a homicide rate of about 5.2 per 100,000.

Los Angeles, which has 4 million residents, had 322 homicides as of Dec. 12 — up 30.4% from 247 at the same point last year — for a rate of about 8 per 100,000. Killings in Chicago, meanwhile, are up about 56% this year.