The Turkish Prime Minister has suspended the annual leave of more than three million civil servants nationwide, according to a government order.

The order, published in Turkey's Official Gazette, said annual leave had been suspended until further notice and civil servants already on leave will return to their posts as soon as possible.

Public sector employees have also been banned from travelling abroad, Turkish broadcaster NTV reports.

In pictures: Turkey coup attempt Show all 17 1 /17 In pictures: Turkey coup attempt In pictures: Turkey coup attempt Turkish President Erdogan attends the funeral service for victims of the thwarted coup in Istanbul at Fatih mosque on July 17, 2016 in Istanbul, Turkey Burak Kara/Getty Images In pictures: Turkey coup attempt Soldiers involved in the coup attempt surrender on Bosphorus bridge with their hands raised in Istanbul on 16 July, 2016 Gokhan Tan/Getty In pictures: Turkey coup attempt A civilian beats a soldier after troops involved in the coup surrendered on the Bosphorus Bridge in Istanbul, Turkey, 16 July, 2016 REUTERS/Murad Sezer In pictures: Turkey coup attempt Surrendered Turkish soldiers who were involved in the coup are beaten by a civilian Reuters In pictures: Turkey coup attempt Soliders involved in the coup attempt surrender on Bosphorus bridge Getty In pictures: Turkey coup attempt Supporters of Turkish President Recep Tayyip Erdogan wave flags as they capture a Turkish Army vehicle Getty In pictures: Turkey coup attempt People pose near a tank after troops involved in the coup surrendered on the Bosphorus Bridge in Istanbul, Turkey, 16 July, 2016 Reuters In pictures: Turkey coup attempt Turkish soldiers block Istanbul's Bosphorus Brigde Getty In pictures: Turkey coup attempt A Turkish military stands guard near the Taksim Square in Istanbul Reuters In pictures: Turkey coup attempt Pierre Crom/Twitter In pictures: Turkey coup attempt Turkish soldiers secure the area as supporters of Recep Tayyip Erdogan protest in Istanbul's Taksim square AP In pictures: Turkey coup attempt People demonstrate in front of the Republic Monument at the Taksim Square in Istanbul Murad Sezer/Reuters In pictures: Turkey coup attempt Turkish soldiers detain police officers during a security shutdown of the Bosphorus Bridge Reuters In pictures: Turkey coup attempt Turkish Army armoured personnel carriers in the main streets of Istanbul Getty In pictures: Turkey coup attempt Chaos reigned in Istanbul as tanks drove through the streets EPA/TOLGA BOZOGLU In pictures: Turkey coup attempt Turkish President Tayyip Erdogan speaks to media in the resort town of Marmaris Reuters In pictures: Turkey coup attempt Supporters of President Erdogan celebrate in Ankara following the suppression of the attempted coup Reuters

It comes amid a wide-ranging purge of the civil service, judiciary, police and armed forces followed a failed coup attempt.

Turkey's state-run news agency says the Interior Ministry has sacked close to 9,000 personnel across the country.

Anadolu Agency says a total of 8,777 employees attached to the ministry were dismissed, including 30 governors, 52 civil service inspectors and 16 legal advisers.

Turkey rounds up thousands after failed coup

Other media reports said police and military police officers and coast guards were also removed from duty.

The government has blamed the failed coup - which led to at least 232 deaths and wounded 1,400 others - on supporters of Fethullah Gulen, a US-based Muslim cleric who has become President Recep Tayyip Erdogan's chief opponent.

The European Union and the United States expressed alarm with Turkey's response to the failed coup, telling the NATO member and EU aspirant it must uphold democracy and human rights as it pursues the military officers and anyone else involved in the plot.

"This is no excuse to take the country away from fundamental rights and the rule of law, and we will be extremely vigilant on that," EU foreign policy chief Federica Mogherini said at a joint news conference with US Secretary of State John Kerry.