Wall Street's three main stock indexes ended higher. With Venezuelan President Nicolas Maduro ousted, the prospect of U.S. refiners returning to Venezuelan oil fields drew buying interest into related sectors.
On Jan. 5, the Dow Jones Industrial Average closed up 594.79 points, or 1.23 percent, at 48,977.18 on the New York Stock Exchange.
The S&P 500 rose 43.58 points, or 0.64 percent, to 6,902.05. The Nasdaq gained 160.19 points, or 0.69 percent, to end at 23,395.82.
The Dow extended record gains in intraday trading and also finished at a record close. With President Donald Trump saying he had ousted Maduro and that the United States would be involved in rebuilding Venezuela's oil industry, related stocks swung sharply.
A forecast also emerged that restoring Venezuela's oil infrastructure would cost about $100 billion over the next 10 years. That could be an uncertain gamble for U.S. oil companies, but the market focused on pricing in expectations for now.
Chevron, the only major U.S. refiner currently operating in Venezuela, rose 5.10 percent and drew market attention. Exxon Mobil gained 2.21 percent and ConocoPhillips rose 2.59 percent.
Defense stocks also rose after Trump expressed willingness to intervene militarily in Iran, Cuba and Colombia, in addition to Venezuela. Lockheed Martin rose 2.92 percent. Palantir climbed more than 3 percent after being assessed as having played a major role in the operation to oust Maduro.
Among technology companies with market capitalisation of at least $1 trillion, Amazon and Tesla rose around 3 percent. Apple, Nvidia, Broadcom and Microsoft fell around 1 percent.