In the winter of 1944, a German army captain in the ruins of Warsaw asked a starving man to play the piano. The man was Władysław Szpilman, one of Poland’s most celebrated pianists, hiding alone in a destroyed city. He played Chopin. The captain kept him alive—but the story of what happened to that officer afterward took 50 years to come to light.

The captain was Wilm Hosenfeld, a schoolteacher from Hesse, a Catholic father of five who had spent years quietly resisting the occupation he served. Born on May 2nd, 1895, in Mackenzell, Hosenfeld followed his father into teaching and served as an infantry soldier during the First World War before a severe wound in 1917 ended his frontline service. In 1935, he joined the Nazi Party, drawn in by promises of national renewal after the Treaty of Versailles. But by the late 1930s, the persecution of Jews and the regime’s attacks on the church had left him increasingly alienated.
He noted Kristallnacht in November 1938 with revulsion. When Germany invaded Poland in September 1939, Hosenfeld was drafted into the Wehrmacht at age 44. His first posting was a prisoner of war camp near Pabianice, southwest of Warsaw, where he ran operations and immediately bent the rules—allowing family visits, releasing individuals he considered wrongly detained, and shielding a Catholic priest by employing him to teach Polish to German officers. In July 1940, he was transferred to Warsaw as a sports and culture officer, a posting that gave him unusual freedom of movement.
What he witnessed deepened his opposition. In letters home, he described watching a German policeman beat a Jewish boy who had crawled through the ghetto wall looking for food. By 1943, he was writing to his wife that he knew Jews were being sent to their deaths. By then, he was already acting.
One man he sheltered was Leon Warm, a dentist who had escaped a deportation convoy in 1942. Hosenfeld issued him a false identity and put him to work at the army stadium, hiding a fugitive inside the garrison’s own facility. He used the same method for others—forged labor passes, false documentation, the cover his rank could provide. On August 1st, 1944, the Polish Home Army launched the Warsaw Uprising.
For 63 days, Polish fighters held sections of the city against overwhelming German firepower. When the uprising collapsed in early October, German commanders ordered the systematic destruction of what remained. By November 1944, Warsaw was a landscape of rubble and ash. Szpilman had survived longer than almost anyone.
Born in 1911, he had been one of Poland’s most prominent pianists before the war. He escaped the Warsaw Ghetto in 1943 with the help of Polish acquaintances and spent the following year hiding in safe houses. When the uprising broke out, his network collapsed. By November, he was alone in the ruins of a building on Aleja Niepodległości, starving, without water or heat, one of roughly 20 Jews still alive in Warsaw.
In mid-November 1944, Hosenfeld arrived at the building with orders to prepare it as army quarters. He encountered Szpilman searching for food. Szpilman braced for arrest. Instead, Hosenfeld asked what he did.
When Szpilman told him he was a pianist, Hosenfeld led him downstairs to a piano and asked him to play. Szpilman performed Chopin’s Nocturne No. 20 in C sharp minor—the same piece he had been playing live on Polish radio on September 23rd, 1939, when a German bomb struck the building and cut the broadcast mid-performance. Five years later, in a city reduced to wreckage, he played it again for a German officer standing in the cold.
Hosenfeld decided on the spot to help him. Over the following weeks, he returned regularly with bread and jam, gave Szpilman his military greatcoat, helped conceal his hiding place, and warned him when German units were moving through the area. In mid-December 1944, Hosenfeld’s unit received orders to withdraw. Before leaving, he told Szpilman the war would end soon and asked him to remember his name if he survived.
Szpilman, who had never asked for it, left the building not knowing who had kept him alive. On January 17th, 1945, Soviet forces entered Warsaw. Hosenfeld was captured by the Red Army near Błonie, west of the city. By May 1945, he had been transferred to an officers’ camp near Minsk, where the NKVD held him in solitary confinement for six months and interrogated him three times.
The suspicion was that he had worked in military intelligence. He denied it. The Soviets did not believe him. He had no witnesses, no documents, and no way to reach the people whose lives he had helped save.
In 1946, he found a way to send a letter to his wife, asking her to find the people he had helped—Leon Warm, Władysław Szpilman, Antoni Czecziora, and others—believing their testimony could secure his release. That same year, Szpilman published his wartime memoir in Warsaw under the title “Death of a City. ” In it, he described a kind German officer whose name he had never known. Communist censors altered the text to suggest the officer had been Austrian.
The book was suppressed and largely forgotten. Hosenfeld’s health was deteriorating. On July 27th, 1947, he suffered a cerebral infarction that left him partially paralyzed on his right side and severely impaired his speech. He spent long stretches in camp infirmaries, dictating letters when he could no longer hold a pen.
What the Soviets held against him went beyond the intelligence suspicion. During the Warsaw Uprising, Hosenfeld had participated in the interrogation of captive Polish civilians, resistance fighters, and Red Army soldiers—prisoners who were subsequently executed. In May 1950, a Soviet military tribunal in Minsk cited this directly in its one-page verdict, stating he had interrogated prisoners and thereby strengthened the occupation. No defense counsel was present.
The sentence was 25 years of hard labor. The verdict made no mention of the people he had protected or the diaries in which he had recorded his own revulsion at the occupation around him. In August 1950, Hosenfeld was transferred to Stalingrad to work on the construction of the Volga-Don Canal. Three months later, Leon Warm traveled to Thalau to visit Hosenfeld’s wife and then wrote to Szpilman, revealing the name and location of the officer who had saved him.
Szpilman appealed to Jakub Berman, a senior figure in the Polish Communist Politburo, but the response was direct: the Soviets had classified Hosenfeld as a spy, and the case lay beyond Polish jurisdiction. Nothing could be done. By 1951, Hosenfeld’s appeal had been rejected and his letters home had stopped making sense. On August 13th, 1952, he died of an aortic rupture in a camp hospital in Stalingrad.
He was 57 years old. He had been a Soviet prisoner for seven years and four months, and he never saw his wife or his five children again. Szpilman learned of his death and corresponded with the Hosenfeld family for years afterward. But Hosenfeld’s story had no audience yet.
The 1946 memoir remained suppressed in Poland, its subject unnamed and its German hero recast as Austrian. Outside the families directly involved, almost no one knew that the officer who had kept the pianist alive had died in a labor camp east of the Volga. That changed in 1999, when “The Pianist” was republished in German and English, restored to Szpilman’s original account with Hosenfeld’s identity intact. Szpilman had submitted an application to Yad Vashem the previous year, formally requesting that Hosenfeld be recognized as Righteous Among the Nations.
He died on July 6th, 2000, before the committee reached its decision. His son continued the campaign. In 2002, Roman Polanski’s film adaptation of “The Pianist” won three Academy Awards, including Best Director. German actor Thomas Kretschmann played Hosenfeld in the film’s pivotal final act.
Within months, Hosenfeld’s name was known across Europe and beyond. In 2004, Germany’s Military History Research Office published his wartime letters and diaries in full—900 pages of testimony from a man who had recorded his own conscience in real time, sending the notebooks home so they would survive. Recognition followed in stages. In October 2007, Polish President Lech Kaczyński posthumously awarded Hosenfeld the Commander’s Cross of the Order of Polonia Restituta.
In February 2009, Yad Vashem formally designated him Righteous Among the Nations, one of a very small number of German army officers to ever receive the honor. His son accepted the award with Szpilman’s widow present in the room. On December 4th, 2011, a plaque in Polish and English was unveiled at Aleja Niepodległości 223 in Warsaw—the building where a German captain had once asked a starving man to play Chopin and then kept his word.