Turkey on Sunday issued a decree dismissing more than 18,000 civil servants, half of which were from the police force, ahead of this month's expected lifting of a two-year-old state of emergency imposed after an attempted coup in July 2016.

The decree follows President Recep Tayyip Erdogan's victory in last month's presidential election and comes before he swears his oath of office Monday, inaugurating a powerful executive presidency.

The decree dismissed 199 academics from universities across the country, as well as more than 5,000 personnel from the armed forces.

Turkish authorities had already dismissed around 160,000 civil servants since the failed military intervention, the U.N. human rights office said in March.

Among those detained, more than 50,000 have been formally charged and kept in jail during their trials.

Turkey's Western allies have criticized the crackdown. Erdogan's critics accuse him of using the failed putsch as a pretext to quash dissent. However, Turkey says the measures are necessary to combat threats to national security.