Poland's president has strongly condemned all forms of racism, xenophobia and anti-Semitism, saying there is no room in today's Poland for those forms of prejudice.

President Andrzej Duda spoke Monday during commemorations marking the 70th anniversary of a post-war massacre of Jews in Kielce.

Leaders in Poland, home to Europe's largest Jewish community before the Holocaust, have sent mixed messages on matters of prejudice since the election last year that brought the right-wing Law and Justice party to power.

Party leader Jaroslaw Kaczynski is staunchly anti-migrant and accused refugees during the campaign of carrying "parasites" to Europe. Duda won the presidency after a remark in a debate that seemed aimed at winning the support of anti-Semitic voters.

In recent months, however, Duda has strongly condemned anti-Semitism and xenophobia several times.