(Bloomberg) — Gold and copper slumped while oil rose, as tight races in battleground states in the U.S. election raised the prospect of a prolonged wait for the final result.Most commodities were dragged lower as the dollar rallied, with the unexpected closeness of the race sparking risk aversion across financial markets and spurring a flight to the safety of the greenback. Oil rose after fluctuating earlier in the day, supported in part by a better-than-expected showing from President Donald Trump.Click here for our real-time news updates and analysisWith millions of ballots still to be counted, Trump falsely declared early Wednesday he had won re-election and said he would ask the Supreme Court to intervene. Earlier, Biden said he was “on track to win this election.” However, it looks likely that the final result may not be known for some time, as counting continues in several closely contested states.“The election is much closer than what was expected, and now it’s looking as though it will drag on for a while,” said Warren Patterson, head of commodities strategy at ING Bank NV. “That is leading to quite a bit of U.S. dollar strength today, which has started to weigh on the commodities complex.”The stakes have never been higher in a presidential election, as whoever wins will have the monumental task of leading the U.S. in its fight against a virus that’s claimed more than 230,000 lives in the country and decimated the economy. On a global level, the next president will also play an integral role in shaping domestic as well as international efforts against climate change, the use of fossil fuels and the pace of energy transition.During his presidency, Trump took a hard-line stance against major oil producers Iran and Venezuela by means of crippling sanctions, tightening global supplies. His support for American shale producers helped the nation’s output rise to a record, adding more supplies to the global pool.A victory by Biden could pave the way for the roll-out of more fiscal stimulus that could lift equity and commodity markets — particularly gold, which benefits from a weaker dollar due to money printing — in the near term. It could also lead to stricter regulation of shale drillers and also signal a detente with Iran, which would unleash millions of barrels a day in fresh crude exports.A Trump win would be “bullish for oil, as OPEC+ can keep cutting without fear that Iranian oil supply will come back into the market any time soon,” said Bjarne Schieldrop, chief commodities analyst at SEB AB.See also: Crude Oil Looking to OPEC+ Move More Than Vote CountsAcross commodity markets broadly, delays to any conclusive result over the next few days should keep volatility elevated as investors wait for more clarity, said Darius Tabatabai, head of trading at Arion Investment Management.“It’s just illiquidity breeding illiquidity and I really don’t think that will come back properly until the political situation is resolved,” he said. “It’s hard to take a long-term view on something that will grind on and on.”For more articles like this, please visit us at bloomberg.comSubscribe now to stay ahead with the most trusted business news source.©2020 Bloomberg L.P.