Jakiw Palij, a former Nazi concentration camp guard, is carried on a stretcher from his home in the Queens borough of New York in August 2018. Picture: ABC via AP

New York - A Nazi war criminal who was recently booted from his home in Queens and deported to Germany has died.

Jakiw Palij, 95, worked as a guard at the Nazi German Trawniki SS camp in occupied Poland. When he arrived in the United States in 1949 he claimed he worked on his father's farm in Poland and at a factory in Germany during the war.

In 2002, the Department of Justice moved to deport him. After a two-year legal battle, a federal judge stripped Palij of his US citizenship. An immigration judge later ordered he be sent to Germany, Poland or Ukraine.

But those countries for years refused to take in the concentration camp guard.

This 1942 photo provided by the public prosecutor's office in Hamburg via the United States Holocaust Memorial Museum, shows Heinrich Himmler, centre left, shaking hands with new guard recruits at the Trawniki training camp in Nazi-occupied Poland. Trawniki is the same camp, where some time after this photo was made, Jakiw Palij was trained. Picture: Public prosecutor's office in Hamburg via the United States Holocaust Memorial Museum via AP

A group of yeshiva students from the Rambam Mesivta High School in Lawrence, Long Island, would rally each year outside his home on the anniversary of Kristallnacht, the 1938 "Night of Broken Glass," a run-up to the Holocaust when Jewish synagogues and stores in Germany were torched by roving Nazis.

Last year, the students also rallied in front of the German consulate by the United Nations.

The home, left, of former Nazi concentration camp guard Jakiw Palij, in the Jackson Heights neighbourhood of the Queens borough of New York. File picture: Kathy Willens/AP

He was finally deported in August by federal immigration agents. The move was driven by the Trump administration and hailed by Jewish groups and local elected officials.

A US visa photo of Jakiw Palij, a former Nazi concentration camp guard who lived in the Queens borough of New York for years. Picture: US Department of Justice via AP

"It's the closure survivors of the Holocaust needed," said former state Assemblyman Dov Hikind.

"It also goes to show that our efforts in seeking justice were not in vain, and reinforces our commitment to ridding the world of any last vestige of Nazism regardless of where it may exist. He certainly did not deserve to die on blessed American soil, but rather in a country closer to where he committed his abhorrent crimes."