Wall Street kicked off a busy week on Monday with a mixed finish for the major U.S. stock indexes, although the market remained near its all-time high.

The S&P 500 slipped 0.1% after wavering between small gains and losses. The benchmark index set a record high last Tuesday and is up 14% so far this year.

The Dow Jones Industrial Average rose 0.4%, and the Nasdaq composite fell 0.4%.

Shares in roughly 64% of the companies in the S&P 500 rose, led by communication services stocks. Meta Platforms rose 3.4%, T-Mobile added 2.2%, AT&T gained 1.4% and Verizon Communications rose 2.7%.

Energy stocks had some of the biggest gains as oil prices kept rising. Chevron rose 1.4%. Despite those gains, a slide in big technology stocks dragged the market into the red.

Micron Technology fell 3.9%, Advanced Micro Devices dropped 2.3%, Broadcom slid 1.9% and Nvidia gave up 1.3%.

The price of Brent crude oil, the international standard, rose 1.8% to settle at $106.65 per barrel. Prices have been swinging between $96 and nearly $110 over the last month.

Prices jumped despite President Donald Trump’s announcement on social media Friday that he struck a deal to buy Russian diesel with Russian President Vladimir Putin. The plan, though, runs counter to U.S. efforts to cut the flow of money Russia gets from oil and gas sales that can be used to pay for its war against Ukraine.

The 10-year Treasury yield, which influences mortgage rates, recently touched its highest level since 2002. It has since eased a bit and stood at 5.24% late Friday. U.S. bond trading was closed Monday for the Columbus Day holiday.

All told, the S&P 500 fell 4.30 points to 7,807.24. The Nasdaq dropped 120.27 points to 27,245.90. The Dow gained 195.60 points to close at 51,850.55.

— Associated Press