(CNBC) U.S. stocks closed sharply higher Friday as Wall Street shrugged off lackluster numbers in the government's monthly jobs report while shares of Apple hit an all-time high to lead the technology sector higher.
The Dow Jones industrial average closed 332.36 points higher at 24,262.51 thanks to a 3.9 percent rally in Apple's stock, which jumped after famed investor Warren Buffett revealed that he bought millions of shares of the iPhone maker in recent months. By the closing bell, Apple had posted a gain of 13.45 percent for the week, its best since October 2011.
The S&P 500 rose 1.2 percent to finish at 2,663.42 after falling 0.4 percent earlier in the day, buoyed by a nearly 2 percent gain in tech, which led all 11 sectors for gains. The Nasdaq composite rose 1.7 percent to close at 7,209.62, its first positive day in the last three sessions. The index was led higher by the aforementioned rally in Apple, a 1.4 percent gain in Facebook and a 2.4 percent boost in Google-parent Alphabet.
Advertisement - story continues below