New York, NY (AP) - The stock market finally got a deal from Greece, but it didn't produce much of a rally.
The Dow Jones industrial average is finishing six points higher at 12,890. The Standard & Poor's 500 is closing up two at 1,352. The Nasdaq composite ends the day up 11 at 2,927.
Greece says it has agreed to cut spending to satisfy some of its lenders. That's a key condition for Greece to avoid a default next month that could spook world financial markets.
Earlier Thursday, the Dow rose to within 75 points of 13,000, a milestone it hasn't reached since 2008. The S&P's gain took it within about a point of doubling its level on March 9, 2009, the low for stocks during the Great Recession.