The S&P 500 reached a new record high on Wednesday, capping a roughly two-week rally that has pushed U.S. equity markets to historic levels. The gains have been fueled largely by investor hopes that the ongoing military conflict involving Iran may be approaching its end, reducing uncertainty that had weighed on markets in recent weeks.

Wall Street indexes climbed steadily as traders responded to signals that a resolution to the Iran conflict could be within reach. The prospect of reduced geopolitical risk has boosted sentiment across sectors, with broad-based gains reflecting renewed confidence among investors who had grown cautious during the height of hostilities.

The Iran war has had a tangible impact on the U.S. economy since it began, affecting energy prices, supply chains, and consumer confidence. Analysts have pointed to elevated oil prices and disruptions in global shipping as among the most direct economic consequences of the conflict, though the two-week rally suggests markets are beginning to price in a post-conflict environment.

The S&P 500's new record comes after a period of significant volatility tied to war-related uncertainty. The sustained rally over approximately two weeks marks a notable reversal from earlier turbulence, underscoring how sensitive financial markets have been to geopolitical developments throughout the conflict.

Economists and market observers have cautioned that while the rally is significant, the full economic effects of the Iran war — including any lasting impact on inflation, trade, and consumer spending — will take time to fully assess. The record close nonetheless signals that investors are increasingly optimistic about economic stability in the near term.