It is noted that those who have been charged with security issues are being released.

"Those who are not accused of spying on foreign structures, who are not accused of direct contact with foreign agents, intentional killing or harm to health, damage and arson of state property, will be pardoned," the message reads.

It is also emphasized that the act of pardon is timed to the next anniversary of the Islamic revolution of 1979.

Anti-government protests erupted in Iran in September following the death of a woman detained by riot police.

Mahsa Amini, 22, was arrested for allegedly wearing a hijab, or headscarf, "improperly" - in violation of Iran's strict dress code for women.

Government officials characterize the project actions, which are still ongoing, as riots supported by forces abroad.

According to human rights groups, during the mass actions, more than 500 demonstrators were killed, including 70 minors, and about 20,000 people were taken into custody.

Protests across the country began to die down little by little after the first executions by hanging became known.

In connection with the decree of Ali Khamenei, the deputy head of the judicial system of the country, Sadek Rahimi, explained that those slaves who have the right to be pardoned must declare in writing that they regret what they have done, otherwise they will remain behind bars, writes the BBC.