Major U.S. stock indexes closed mostly higher Wednesday, ending near the record highs they reached last week.

Gains in several Big Tech companies, including Intel, Apple and Amazon, helped nudge the S&P 500 higher, even though most of the stocks in the index fell. Those gains outweighed losses in industrial, materials and other sectors.

Copyright 2021 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed without permission.