(CNBC) The major U.S. stock indexes closed mostly lower on Friday as they snapped multi-week winning streaks while some of the largest tech stocks pulled back.

The Dow Jones industrial average fell 39.73 points to close at 23,422.21, with Intel and Merck as the biggest decliners. But a 3 percent gain in Disney shares capped losses in the 30-stock index.

The S&P 500 declined 0.1 percent to 2,582.28, with health care and energy as the biggest declining sectors. Johnson Controls was the worst-performing stock in the index, falling 4.1 percent.

The Nasdaq composite finished just above the flatline at 6,750.94.

Note: Read our discussion guidelines before commenting.