Visitors gather outside the New York Stock Exchange on May...

Visitors gather outside the New York Stock Exchange on May 26, 2015 in Manhattan. Credit: Getty Images / Spencer Platt

The Nasdaq composite index closed at a record Wednesday, after the biggest drop for U.S. stocks in three weeks, as technology shares rebounded and investors watched for progress in talks on Greece.

At the close on Wall Street, The Nasdaq was up 73.8 points, about 1.5 percent, at 5,106.59, topping its previous closing record set on April 24, as semiconductors jumped the most in two months and Apple rallied. The Standard & Poor's 500 index gained 19.3 points, nearly 1 percent, to 2,123.5, nearly erasing the losses from the previous day. The Dow Jones industrial average closed up 129.5 points, about 0.7 percent, at nearly 18,163.

As the markets closed, the price of benchmark U.S. crude was down about 42 cents at $57.61 per barrel on the New York Mercantile Exchange.

North Fork home prices hit record high ... Out East: Get taste of Italy at Sannino Wines ... Up close with wind turbines Credit: Newsday

ICE detention condition complaints ... North Fork home prices hit record high ... Out East: Get taste of Italy at Sannino Wines ... Up close with wind turbines

North Fork home prices hit record high ... Out East: Get taste of Italy at Sannino Wines ... Up close with wind turbines Credit: Newsday

ICE detention condition complaints ... North Fork home prices hit record high ... Out East: Get taste of Italy at Sannino Wines ... Up close with wind turbines

Subscribe

Unlimited Digital AccessOnly 25¢for 6 months

SUBSCRIBESALE ENDS SOON | CANCEL ANYTIME