The FAA temporarily halted all flights to New York-area airports Saturday afternoon due to "staffing issues" at the New York air route traffic control center.

A trainee at the facility tested positive for COVID-19 on Saturday.

"A Federal Aviation Administration (FAA) air traffic controller trainee at New York Air Route Traffic Control Center in Ronkonkoma, N.Y., tested positive for COVID-19 today. The trainee has not been at the facility since March 17. We have contacted local health authorities and we are developing a plan to quickly sanitize/clean the affected areas," the FAA said in a statement.

"DUE TO STAFFING ISSUES AT ZNY, PLEASE STOP ALL DEPARTURES TO

AIRPORTS WITHIN ZNY. THIS INCLUDES KJFK, KEWR, KLGA, KTEB, KHPN,

KPHL, KMMU, KCDW, KMDT, KABE, KISP, KFRG AND SEVERAL SMALLER

AIRPORTS," the FAA said in an advisory posted around 1:45 p.m.

The directive also affects Philadelphia International Airport.

Roughly 30 minutes later, the FAA issued a second statement saying the restrictions were mostly lifted, aside from some flights destined for JFK.

Shortly after, the Port Director of John F. Kennedy Airport said the flights were suspended due to "an issue with an aviation system," but did not elaborate further.

There are erroneous reports circulating that the FAA discontinued flights to NY and NJ due to the #coronavirus. Flights were temporarily suspended because of an issue with an aviation system. It has since been resolved and everything is back to “normal” at #JFK and Newark. — Port Director Frank Russo (@CBPPortDirJFK) March 21, 2020

An advisory to business aviators, a copy of which was obtained by News 4, said flights in the air were being diverted or sent back to their origin airports, and flights that had taxied were returning to their gates.