Peter Hujar's Candy Darling on Her Deathbed sold for $17,500 in an auction of photographs at Bonhams New York on April 26.
Darling was a transgender actor and model associated with Warhol's Factory collective.
Darling is best known for her appearance in two of his films, Flesh (1968) and Women in Revolt (1971).
This photograph, signed by Hujar, was taken while she was dying of cancer in 1971.
It's Hujar's most celebrated photograph, with another print selling for $50,000 at Christie's in 2015.
Hujar produced a series of photographs of 1970s New York icons, including Divine and Susan Sontag.
He was also part of Warhol's extended orbit. His work is often compared with fellow New York photographer Robert Mapplethorpe.
Gregory Crewdson's Untitled (Pregnant Woman/ Pool) realised $16,250.
The print is from Crewdson's famous Twilight series, which features eerie tableaux against a small-town American backdrop.
It dates to 1999 and was acquired directly from the artist.
Crewdson uses motion picture equipment and techniques to produce his work. Most of his photographs are large format, with this example measuring over five feet across.
Among his top sales is the $113,000 paid at Christie's for his 12-print series Dream House in 2011.
You can check out all our art and photography memorabilia for sale here.
Please sign up to our free newsletter to receive exciting news about art and photography auctions.