A nationwide suspension of most U.S. flight departures lasted roughly five hours Friday following an air traffic control disruption, The Associated Press reported.

Trump administration officials attributed the failure to an equipment upgrade. Older infrastructure could not handle the added technology, disrupting radar and communications, according to AP’s account. The ground stop was the longest nationwide in 25 years.

Thousands of flights were affected. The stop was lifted Friday evening, and a limited number of domestic flights began departing late that night.

Homeland Security Secretary Markwayne Mullin told reporters at the White House that no one was in danger and that more than 3,000 flights landed safely.

Mullin said the Federal Aviation Administration was installing "new equipment, new technology" and "it was overwhelming the older system." He said there appeared to be no indication of a cyberattack.

Transportation Secretary Sean Duffy said he could not guarantee it would not happen again.

Airlines could need several days to restore their schedules, AP reported, because the interruption left aircraft and crews away from their planned locations. Officials expected operations to stabilize before Thanksgiving travel intensified.