BERLIN — A 32-year-old German neo-Nazi has been sentenced to 18 months in prison for incitement after posting a picture of a miniature of the Auschwitz death camp on Facebook with an offensive caption.

Judge Manfred Weber at the district court in Hohenstein-Ernstthal in eastern Germany told the man Thursday “you made fun of Auschwitz survivors — that’s very bad.”

The German news agency dpa reported that the sentence of the previously convicted neo-Nazi also took into consideration his earlier charge for criminal assault and the posting of a photomontage of Adolf Hitler in combination with a swastika and firecrackers. The display of Nazi emblems is illegal in Germany.

The man from Glauchau in Saxony, whose name was not given in line with German privacy rules, can appeal the conviction.