By Kate Gibson, MarketWatch

NEW YORK (MarketWatch) -- U.S. stocks rose Tuesday, lifting the S&P 500 index to a four-year high, on optimism that euro-zone leaders would take steps this week to contain the region's debt crisis.

The Dow Jones Industrial Average (DJI) rose 6.43 points to 13,278.31.

The S&P 500 index (SPX) gained 3.16 points to 1,421.29.

The Nasdaq Composite (RIXF) added 9.54 points to 3,085.75.

Urban Outfitters Inc. (URBN) rallied 16% after the retailer reported better-than-expected second-quarter earnings.

Best Buy Co. (BBY) lost 6.6% after its results came in below estimates and the electronics retailer suspended its earnings outlook.

For every stock on the decline more than two gained on the New York Stock Exchange, where composite volume topped 292 million as of 9:50 a.m. Eastern.

Subscribe to WSJ: http://online.wsj.com?mod=djnwires