The Turkish government on Sunday sacked more than 18,000 civil servants for alleged links to terror groups, as it prepared to lift the state of emergency in the wake of the 2016 failed coup.

Nearly 9,000 police officers, 6,000 members of the military and 199 academics from across Turkey are among the people summarily dismissed in a decree published in the Official Gazette. Their passports will be cancelled.

The dismissals came the day before President Recep Tayyip Erdogan was to be sworn in for his second term, following his victory in last month’s presidential election.

Mr Erdogan has overseen a series of purges since the July 2016 attempted coup, which saw parts of the Turkish military launch an operation to topple the government and oust its leader.

Turkey blames exiled preacher and businessmen Fethullah Gulen for the attempted power grab and cracked down decisively, implementing a state of emergency and using enhanced powers to sack scores of civil servants. After two years, many were expecting an announcement lifting Turkey’s state of emergency, rather than Sunday’s further tightening of the screws.

According to the UN’s human rights office, more 160,000 civil servants had already been dismissed before this latest round. Around a third have been formally charged and jailed during their trials.