A Marine Corps F-35B was completely destroyed in a crash during training in South Carolina on September 28.

According to Joe DellaVedova, a spokesman for the F-35 program, the US and its international partners temporarily suspended F-35 flight operations for a fleet-wide inspection of a fuel tube within the engine on all F-35 aircraft.

“The action to perform the inspection is driven from initial data from the ongoing investigation of the F-35B that crashed in the vicinity of Beaufort, South Carolina,” DellaVedova said in a statement.

He added that suspect fuel tubes would be removed and replaced. If good tubes are already installed, then those planes will be returned to operational status.

According to Pentagon figures, 320 F-35s have been delivered globally, mainly to the US but also Israel and Britain, as well as other partner countries.

Britain said the Pentagon measure did not affect all of its F-35s, and that some flying missions had been “paused,” not grounded. “F-35 flight trials from the aircraft carrier HMS Queen Elizabeth are continuing and the program remains on schedule to provide our armed forces with a game-changing capability,” a British defense ministry spokesman said.

The Israeli military said it was taking additional precautions and conducting tests on its version of the F-35.

But if the planes are “required for operational action, the F-35I aircraft are ready and prepared,” a statement read.

The South Carolina crash, which the pilot survived after ejecting, came only one day after the US military first used the F-35 in combat, when Marine Corps fighters hit Taliban targets in Afghanistan.

On Wednesday, Defense News reported that Defense Secretary Jim Mattis had ordered the Air Force and Navy to make 80 percent of the fleet of key fighters, including the F-35, mission capable within a year.

The order sent ripples through the Pentagon, where officials have long bemoaned a general lack of readiness for key equipment.

Launched in the early 1990s, the F-35 program is considered the most expensive weapons system in US history, with an estimated cost of some $400 billion and a goal to produce 2,500 aircraft in the coming years.

Once servicing and maintenance costs for the F-35 are factored in over the aircraft’s lifespan through 2070, overall program costs are expected to rise to $1.5 trillion. Proponents tout the F-35’s radar-dodging stealth technology, supersonic speeds, close air support capabilities, airborne agility and a massive array of sensors giving pilots unparalleled access to information.

But the program has faced numerous delays, cost overruns and setbacks, including a mysterious engine fire in 2014 that led commanders to temporarily ground the planes.