Stocks ended a week of tumultuous trading on Wall Street with a wide sell-off Friday, leaving the main indexes down for the second week in a row.

The selling slowed in the afternoon, but it picked up again in the last hour of trade. The S&P 500 and Dow Jones Industrial Average both dropped 0.7%. The Nasdaq composite, on the other hand, took the brunt of the selling, falling 1.2%.

Treasury yields fell as investors shifted money into the safety of U.S. bonds. The yield on the 10-year Treasury, which affects rates on mortgages and other consumer loans, fell to 1.93% from 1.97%.

The S&P 500 fell 31.39 points to 4,348.87. The benchmark index is now 9.3% below its all-time high set on Jan. 3.

The Dow fell 232.85 points to 34,079.18 and the Nasdaq gave up 168.65 points to 13,548.07. Small-company stocks also fell, pulling the Russell 2000 index down 18.76 points, or 0.9%, to 2,009.33.

Tensions over Russia and Ukraine have been growing all week, throwing a curveball to markets that have been more focused on inflation, central banks’ monetary policy and economic growth. Russia is a major energy producer and a military conflict could disrupt energy supplies and make for extremely volatile energy prices.

General Electric fell 5.9% after it warned that pressure from inflation and supply chain problems have hurt several of its businesses including healthcare, renewable energy and aviation. It expects the problems to persist through at least the first half of the year.

Video streaming company Roku slumped 22.3% after giving investors a weak revenue forecast and warning about persistent supply chain problems.

Weakness from several big technology stocks, which have more weight on indexes because of their size, helped pull the broader market lower. Intel fell 5.3%.

Retailers and travel-related companies also lost ground. Amazon shed 1.3% and Royal Caribbean fell 1.7%