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

The South Carolina crash came only one day after the US military first used the F-35 in combat when Marine Corps fighters hit Taliban targets in Afghanistan. (Image Credit: Twitter)

The Pentagon grounded the global fleet of F-35 stealth fighters on Thursday, as a result of the first-ever crash of the costliest plane in history.

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

According to Joe DellaVedova, a spokesman for the F-35 program, the US and its international partners -- including Britain and Israel -- have 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 would be returned to operational status.

Inspections were expected to be completed within the next 24 to 48 hours.

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

"The primary goal following any mishap is the prevention of future incidents," DellaVedova said.

"We will take every measure to ensure safe operations while we deliver, sustain and modernize the F-35."

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

The order sent ripples through the halls of 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 USD 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 USD 1.5 trillion.