In addition to newspapers, radio and television, the new law is primarily aimed at online networks and online media. They are asked to denounce users who are accused of spreading “fake news” and passing on their data.

The deliberations on the law began in early October. To the 40 articles of the “press law” passed on Thursday evening, there had been numerous amendments from the opposition, which had spoken of a “censorship law”. The applications were rejected. “This law declares war on the truth,” said MP Meral Danis Bektas from the pro-Kurdish opposition party HDP.

Article 29 provides for prison sentences of between one and three years for “spreading false or misleading information about the country’s internal and external security”, as well as for news “damaging public health, disturbing public order, fear or panic in the population could spread”.

The bill was introduced in May by MPs from President Recep Tayyip Erdogan’s ruling AKP. Erdogan, who has been trying to silence critics for a long time, wants to be confirmed in office next year. It is likely to be the most difficult election for him since he began his tenure almost two decades ago. The polls for his ruling party are at an all-time low because of runaway inflation and a currency crisis.

Non-governmental organizations regularly denounce the erosion of press freedom in Turkey. Turkey currently ranks 149th out of 180 in the Press Freedom Index compiled by Reporters Without Borders.