NEW YORK (AP) — Edward Hopper's "East Wind Over Weehawken" has sold for $40.5 million — an auction record for the artist.

The 1934 work depicts a streetscape of the New Jersey city across the Hudson River from New York.

It had been in the collection of the Pennsylvania Academy of the Fine Arts.

An anonymous telephone bidder purchased the work at Christie's on Thursday.

The pre-sale estimate was $22 million to $28 million.

The painting captures the melancholy of post-Depression life in America.

Hopper considered it one of his best works.

Proceeds from the sale will go toward the creation of a new endowment at the academy for the purchase of artworks.

The previous Hopper record was $26.9 million for "Hotel Window."

Loading Slideshow...
  • A visitor looks at 'The boy and the moon' painting by US artist Edward Hopper on February 24, 2010 during the first opening of exhibition running from February 16 to June 13, 2010 at the Fondazione Museo in Rome. A new exhibit in Rome invites the viewer into the world of American realist painter Edward Hopper, starting with a stop at a bar bathed in the raw but unfocussed light typical of his work. (ANDREAS SOLARO/AFP/Getty Images)

  • A visitor looks at 'Soir Bleu' painting by US artist Edward Hopper on February 24, 2010 during the first opening of exhibition running from February 16 to June 13, 2010 at the Fondazione Museo in Rome. A new exhibit in Rome invites the viewer into the world of American realist painter Edward Hopper, starting with a stop at a bar bathed in the raw but unfocussed light typical of his work. (ANDREAS SOLARO/AFP/Getty Images)

  • A man walks by a painting by US artist Edward Hopper entitled 'The Martha McKeen' at the Thyssen-Bornemisza Museum in Madrid on June 11, 2012. (JAVIER SORIANO/AFP/GettyImages)

  • A photographer takes pictures next to a painting by US artist Edward Hopper entitled 'Morning Sun' at the Thyssen-Bornemisza Museum in Madrid on June 11, 2012. (JAVIER SORIANO/AFP/GettyImages)

  • People watch a painting by US artist Edward Hopper entitled 'Four Lane Road' at the Thyssen-Bornemisza Museum in Madrid on June 11, 2012. (JAVIER SORIANO/AFP/GettyImages)

  • This undated photo provided by Christie's shows a painting of a Cape Cod autumn scene by Edward Hopper. The large-scale painting is coming to auction in New York City and is expected to sell for $8 million to $10 million when it is put up for sale by Christie's on Nov. 28. (AP Photo/Christie's)

  • A woman looks at "Gas 1940" as part of the retrospective of Edward Hopper, one of the great American 20th century artists at Paris’ Grand Palais Museum, in Paris, Monday, Oct. 8, 2012. This major Hopper retrospective reveals that the 20th century painter known for his rendering of American life, also drew inspiration from France. (AP Photo/Francois Mori)

  • A woman looks at "Office at night, 1940" as part of the retrospective of Edward Hopper works, one of the great American 20th century artists at Paris’ Grand Palais Museum, in Paris, Monday, Oct. 8, 2012. This major Hopper retrospective reveals that the 20th century painter known for his rendering of American life, also drew inspiration from France, and includes some 128 Hopper works, such as the masterpieces “Nighthawks” and “Soir Bleu”.(AP Photo/Francois Mori)

  • A man pictures "French Six-day rider, 1937" as part of the retrospective of Edward Hopper, one of the great American 20th century artists at Paris’ Grand Palais Museum, in Paris, Monday, Oct. 8, 2012. This major Hopper retrospective reveals that the 20th century painter known for his rendering of American life, also drew inspiration from France, and includes some 128 Hopper works, such as the masterpieces “Nighthawks” and “Soir Bleu”.((AP Photo/Francois Mori)

  • A woman looks at "Hotel Room, 1931" as part of the retrospective of Edward Hopper, one of the great American 20th century artists at Paris’ Grand Palais Museum, in Paris, Monday, Oct. 8, 2012. This major Hopper retrospective reveals that the 20th century painter known for his rendering of American life, also drew inspiration from France, and includes some 128 Hopper works, such as the masterpieces “Nighthawks” and “Soir Bleu”.((AP Photo/Francois Mori)

  • Didier Ottinger

    French curator Didier Ottinger, poses in front of "Nighthawks, 1942", as part of the retrospective of Edward Hopper, one of the great American 20th century artists at Paris’ Grand Palais Museum, in Paris, Monday, Oct. 8, 2012. This major Hopper retrospective reveals that the 20th century painter known for his rendering of American life, also drew inspiration from France, and includes some 128 Hopper works, such as the masterpieces “Nighthawks” and “Soir Bleu”.((AP Photo/Francois Mori)

  • The canvas "Sun in an empty room, 1963" is seen at right as part of the retrospective of Edward Hopper, one of the great American 20th century artists at Paris’ Grand Palais Museum, in Paris, Monday, Oct. 8, 2012. This major Hopper retrospective reveals that the 20th century painter known for his rendering of American life, also drew inspiration from France, and includes some 128 Hopper works, such as the masterpieces “Nighthawks” and “Soir Bleu”.(AP Photo/Francois Mori)

  • This image provided by Christie's auction house shows Edward Hopper's painting of New York City's Roosevelt Island. Titled "Blackwell's Island," it was sold for just over $19 million at auction on Thursday, May 23, 2013. (AP Photo/Christie's)