President Trump praised Poland’s democratic values in a speech on Thursday and lauded the country as a beacon.

“I am here today not just to visit an old ally, but to hold it up as an example for others who seek freedom,” Mr. Trump told a crowd in Warsaw.

Not everyone agrees. Since Poland’s conservative Law and Justice Party came to power in 2015, the country has been criticized by international organizations over measures that they say undermine freedom. Here are some of their concerns:

Judicial independence

Shortly after the Law and Justice Party assumed power, it took several steps to gain more control over the nation’s Constitutional Tribunal. It appointed more judges aligned with the party to the court, limited the court’s ability to overturn new laws and made it possible for the government to appoint the country’s top prosecutor directly.

The European Union’s executive arm has begun an inquiry into the judicial measures over concerns that they violate the bloc’s rules.