JTA — A Hungarian Holocaust-denier was ordered to visit a museum about the Jewish genocide or go to jail.

The business weekly HVG reported Jan. 31 that a Budapest appeals court handed 42-year-old Gyorgy Nagy a suspended jail sentence of 18 months. The judge upheld a lower court ruling from last year.

The appeals court judge ordered the man to visit the Holocaust Memorial Centre in Budapest at least three times or Poland’s Auschwitz memorial site or Yad Vashem in Jerusalem, and write about the experience.

The man was convicted for carrying a Hebrew-language sign which read “the Holocaust never happened” at a demonstration on in 2011 in Budapest, the Hungarian news agency MTI reported.

He was also banned from attending demonstrations and other political events.

The denial of genocide committed by the Nazi regime was declared a crime by the Hungarian Parliament in February 2010, according to MTI. Three months later, the denial of crimes against humanity committed during the Communist era was also designated as a crime.