Sign up for our special edition newsletter to get a daily update on the coronavirus pandemic.

The US was the best-prepared country in the world to respond to a pandemic, a report concluded in 2019, despite complaints from Democrats that President Trump gutted the government agencies that are on the front line of the nation’s coronavirus response.

The assessment by the Nuclear Threat Initiative and the Johns Hopkins Center for Healthy Security was released last October.

The Global Health Security Index was compiled with guidance from an international panel of experts from 13 countries and ranked the preparedness of 195 countries following the Ebola outbreak.

It cautioned that no country is perfectly positioned to handle a pandemic.

The US ranked high in five of six categories examined, but scored lower on the overall risk of biological threats because of social unrest, terrorism and lack of public confidence in the government.

Fox News reported on the index late Tuesday.

Trump was called “racist” after he closed the US border to China in January — weeks after the initial coronavirus outbreak was reported in Wuhan.

Dr. Anthony Fauci, an infectious disease expert on the White House coronavirus task force, credited that action with curbing the spread of the virus in the US.

Others criticized the Trump administration for cutting funding for the Centers for Disease Control and Prevention, leaving the country vulnerable to a pandemic like coronavirus.

Trump proposed a cut, but Congress rejected it and increased its budget to $7.7 billion from $7.2 billion in 2019.

“The CDC’s response has been excellent, as it has been in the past,” John Auerbach, president of the nonpartisan Trust for America’s Health, which works with government in its response to crises, told Fox News.

He added that the ranks of top scientists at the CDC have remained stable over the past three years.