The U.S. has issued a warning after a massive 43-car pileup.

Close to 10 people were severely injured and others could have been hurt in the wreck, which took place on Tuesday in California near Bakersfield. The crash happened on the eastbound side of Highway 58 at Towerline Road just after 8 a.m., according to the California Highway Patrol.

The highway was ultimately closed for a bit.

"The pileup involved a total of 43 cars, and nine people were taken to the hospital for minor to severe injuries, CHP said in a news release," the report states.

"CHP is still determining the cause of the crash, but investigators believe weather was a factor, the agency said. At the time of the pileup, CHP said the visibility was estimated between 50 and 60 feet."

An investigation into the wreck is underway. Authorities believe that fog was the cause of the wreck.

The U.S. has since issued a "warning" for anyone driving in fog:

Stay safe out there, everyone.