Wall Street capped 2017 with a loss, weighed down by a broad slide in light trading ahead of the New Year's holiday.
Technology companies, banks and health care stocks accounted for much of the market's decline. Energy stocks also fell, even as the price of U.S. crude oil surged to its highest level in more than two years.
Despite the downbeat end to the week, the U.S. stock market finished 2017 with its strongest year since 2013.
The Standard & Poor's 500 index, the broadest measure of the stock market, gained 19.4 percent for the year, more than double its gain in 2016. Including dividends, the total return was 21.8 percent, as of late Friday.