Polish President Andrzej Duda said on Tuesday that he will sign a contested Holocaust bill into law, despite protests from Israel and the United States.

The measure imposes prison sentences of up to three years for mentioning the term "Polish death camps" and for suggesting "publicly and against the facts" that the Polish nation or state was complicit in Nazi Germany's crimes.

Poland's right-wing government says the law is necessary to protect the reputation of Poles as victims of Nazi aggression. Israel says the law would ban true statements about the role that some Poles played in Nazi crimes.

Duda also said he will ask the Constitutional Tribunal for clarifications about the bill. Those are likely to be issued after it goes into effect.