Turkey’s Security Directorate General has announced that it has fired at least 1,000 police officers from their jobs over their alleged links to terrorist organizations, Turkish media outlets reported.

The action against the police officers was based on the temporary 35th article of government decree number 375, which was issued during two-year-long state of emergency declared in the aftermath of a failed coup in the country in July 2016.

The 35th article of the relevant government decree will expire on July 31.

Most of the police officers were serving in İstanbul and Ankara. Retired police officers and police officers who are currently in prison are among those affected.

Turkey’s Justice and Development Party (AKP) government declared a state of emergency in the aftermath of the failed coup in the country on July 15, 2016, which remained in effect until July 19, 2018.

During the state of emergency, the AKP issued a number of government decrees, known as KHKs, through which around 130,000 public servants including academics, teachers, doctors, police officers, judges and prosecutors have been purged due to their real or alleged connections to terrorist organizations.