An NYPD detective cracked a really cold case this week when fingerprints from an inmate were linked to the death of a Queens man in a home-invasion burglary 32 years ago.

Ernest Mattison, 49, formerly of Flushing, was charged with murder in the Sept. 10, 1980, strangulation of Cecil Schiff, 73. Schiff, who fled Poland to escape the Holocaust, was found dead in his Franklin Avenue home, sitting in a chair and bleeding from the head.

Fingerprints retrieved from a jewelry box at the scene were recently matched to Mattison, prosecutors said.