Perfect 10: Dow Posts First 10-Day Rally Since 1996, S&P Ends Just Shy of 2007 High

Stocks closed near session highs Thursday, with the Dow logging its first 10th-straight winning streak since 1996 and the S&P 500 within a hair's breadth of its all-time closing high, lifted by a better-than-expected jobless claims report.

"This could be the greatest bull run since the 80s only because there's nowhere else for investors to go," said Alan Valdes, director of floor operations at DME Securities. "The Fed's pumping $85 billion a month into the market so there's no way for it to go down, but everyone's got their finger on the trigger because they don't know when this is going to turn."

(Read More: After-Hours Buzz: What Bank Stocks Are Doing—GS, JPM, BAC & More)

S&P 500

The Dow Jones Industrial Average rallied 83.86 points, or 0.58 percent, to end at 14,539.14, led by Hewlett-Packard and IBM led the gainers, logging its first 10th-consecutive winning streak for the first time since November 1996.

The blue-chip index is up a cool 10 percent so far in 2013, on track to logging its best first-quarter performance since 1998. Historically, a strong first quarter indicates robust gains for the year. Since 1950, there have been only 12 other instances where the Dow was up more than 8 percent in the first quarter and in each of those years, the index finished positive 100 percent of the time.

The S&P 500 rose 8.71 points, or 0.56 percent, to close at 1,563.23. The Nasdaq gained 13.81 points, or 0.43 percent, to finish at 3,258.93.

The CBOE Volatility Index (VIX), widely considered the best gauge of fear in the market, ended near 11, falling to a six-year low.

All key S&P sectors finished higher, led by energy and techs.

On the economic front, weekly jobless claims unexpectedly declined 10,000 in the previous week to a seasonally adjusted 332,000, according to the Labor Department, marking the third-consecutive week of declines.

(Read More: Bear Market to Take Hold in 2013: Expert)

President Barack Obama met with House Republicans in the latest of a series of meetings on the budget and long-term debt negotiations.

House Speaker John Boehner called the session a "very frank and candid exchange of ideas."

"We know, however, that there are some very real differences between our two parties," added Boehner. "Republicans want to balance the budget. The president doesn't."

(Read More: Obama: Differences May Be 'Just Too Wide' for Deal)

European shares closed higher, extending its two-week rally that propelled indexes to multi-year highs, as European Union heads of state headed to Brussels to discuss the region's austerity measures and rising youth unemployment.

"With the euro area economy having contracted in each of the past five quarters… and with countries' fiscal policy plans set to be reviewed, this summit provides an opportunity for policymakers to give permission to struggling countries to go a little easier on the austerity," wrote Emily Nicol, an economist at Daiwa Capital.

(Read More: Germany Unveils Spending Cuts on Eve of EU Summit) declined after JPMorgan downgraded the online retail giant to "neutral" from "overweight." Meanwhile, Ebay climbed after Evercore Partners upgraded the online auction site operator to "overweight" from "equal weight."

Etrade tumbled to lead the S&P 500 laggards after the company's largest investor Citadel said it is selling its entire stake in the firm, ending a five-year relationship.

Men's Wearhouse surged after the men's clothing retailer hired Jefferies to evaluate strategic alternatives for its K&G division and authorized a new $200 million stock buyback program, which helped overshadow the firm's weaker-than-expected quarterly earnings.

Samsung is set to unveil its Galaxy S4 smartphone in New York City and analysts speculate that the new version will include an eye-scroll function and feature a bigger screen than the current Galaxy S3.

"Apple's status has been steadily undermined by the flawless execution Samsung has demonstrated in the more frequent iterations of its Galaxy smartphone offering," said David Garrity, principal at GVA Research. "Whether the Galaxy 4S will be the product generation that moves Samsung squarely ahead of Apple as innovation leader remains, but it clearly is a message that Samsung has been aggressively marketing."

Apple shares have continued to tumble in recent months, falling nearly 40 percent from its all-time high of $705 in September. And in the latest blow to the tech giant, research house IDC on Wednesday said shipments of tablets running the Android operating system is expected to top the iPad this year for the first time. Still, Apple edged higher Thursday after BTIG raised its rating on the iPhone maker to "buy" from "neutral."

(Read More: Apple's iPad to Fall Behind Android as Tablet War Grows)

Meanwhile, Google announced it will retire its Google Reader in July, citing declining usage. This follows Wednesday's news that Andy Rubin will step down as head of Google's Android division, and will be replaced by Sundar Pichai.

Also on the economic front, producer prices increased 0.7 percent in February, gaining by the most in five months as gasoline prices spiked, according to the Labor Department. But there was little indication of a broader increase in inflation pressures that could force the Fed to tighten monetary policy.

And current account deficit narrowed to $110.4 billion in the fourth quarter, according to the Commerce Department. Economists had expected the gap to widen to $112.8 billion from a previously reported $107.5 billion for the third quarter.

Treasury prices fell after the government auctioned $13 billion 30-year notes at a high yield of 3.248 percent. The bid-to-cover ratio, an indicator of demand, was 2.43.

—By CNBC's JeeYeon Park (Follow JeeYeon on Twitter: @JeeYeonParkCNBC)

Coming Up This Week:

FRIDAY: Quadruple witching, CPI, Empire State mfg survey, Treasury int'l capital, industrial production, consumer sentiment, credit card default rates

More From