Stocks took a late stumble on Wall Street, erasing an early gain and leaving major indexes mixed on Friday.
The S&P 500 closed up just a fraction of a point but still managed to post a modest gain for the week. The Dow Jones Industrial Average notched a modest gain, while the Nasdaq composite fell. Small-company stocks also ended lower.
Big Tech and energy companies fell while health care and industrial stocks rose.
The S&P 500 index rose 0.47 points, or less than 0.1%, to 3,483.81.
The Dow gained 112.11 points, or 0.4%, to 28,606.31.
The Nasdaq fell 42.32 points, or 0.4%, to 11,671.56.
The Russell 2000 index of small-cap stocks dropped 5.08 points, or 0.3%, to 1,633.81.