The Dow Jones industrial average reached 20,000 for the first time ever. The Washington Post's Ylan Mui breaks down what that means for investors. (Jorge Ribas/The Washington Post)

NEW YORK — The closely watched Dow Jones industrial average reached historic levels Wednesday, landing above 20,000 points for the first time in a week when President Trump began to put his agenda in place.

Shortly after the election, investors dubbed a surge in stock prices the “Trump rally,” pushing U.S. stocks to new heights in anticipation that the new president would work with the Republican-led Congress to lower taxes and pass more business-friendly policies. But time and again as the Dow appeared ready to breach the 20,000 threshold, there was a retreat.

This week, as Trump vowed to rewrite trade agreements and revive pipelines, the markets began to rev again. It closed on Wednesday at 20,068, up 0.8 percent.

For the Dow, encompassing 30 large publicly traded companies, topping the 20,000 level holds more symbolic than practical value. But Wall Street has been anticipating the rise could give investors the psychological boost to keep stock prices climbing even further.

The broader Standard & Poor’s 500-stock index and the tech-heavy Nasdaq composite index have also been trading at record levels. The recent run-up in stock prices has added about $2 trillion in market value since the election to companies that make up another broad index, the Wilshire 5000.

Among the biggest contributors to the rise in the Dow has been Goldman Sachs. The bank has seen its stock price rise 30 percent since the election, accounting for more than 20 percent of the Dow’s rise. “Goldman Sachs went from persona-non-grata the day of the election to back in the White House” after the election, Howard Silverblatt, a senior index analyst at S&P Dow Jones Indices, said in a research note.

The Wall Street giant’s stock has soared amid expectations that the Trump administration will roll back regulations put in place to rein in the banking sector after the 2008 financial crisis. It hasn’t hurt that Trump picked Goldman veterans to lead the Treasury Department and chair his team of economic advisers.

The Dow has surged nearly 10 percent since the election. The Standard & Poor’s 500-stock index, a broader take on the market, and the tech-heavy Nasdaq hit record levels earlier this week and rose nearly 1 percent in trading Wednesday as well.

Stocks staged a remarkable rebound in 2016, starting the year with massive sell-offs as investors worried about China’s rocky economy and falling oil prices and then panicked when Britain voted to leave the European Union.

Each sell-off was followed by a recovery that pushed stock prices back into positive territory. After sagging as much as 10 percent in 2016, the Dow jumped 13 percent for the year, more than half of the rise coming since the election. The S&P was up about 10 percent last year, while the Nasdaq grew about 9 percent.

The markets’ rise “becomes self-fulfilling momentum,” said Art Hogan, chief market strategist for the investment firm Wunderlich. “Whether you’re an individual or an institution you start chasing momentum.”

But, some market analysts say, stock prices may have already risen too far too fast. Investors are ignoring potential stumbling blocks that lie ahead for the U.S. economy, including that the Federal Reserve is beginning to raise interest rates — it bumped up a key lending rate last week, a move that traditionally has added costs for businesses. And it is unclear whether Trump will be able to implement all of his campaign promises, including lowering corporate taxes.

The rise in stock prices has also coincided with a sell-off in the bond market, a traditional safe haven during economic turbulence. The interest rate on a 10-year government note has risen from about 1.7 percent before the election to about 2.4 percent recently as investors demand a bigger return in exchange for locking up their money for a long period. When the interest rate rises, the price of the bond falls.