Erdogan declared a three-month state of emergency Wednesday to help quell the turmoil that began Friday, when members of the military mobilized tanks and helicopters in an attempt to remove the president from power.
He said coup plotters will be tried "on charges of treason and attempt to change the constitutional order illegally". It also raises questions about the effectiveness of the military, courts and other institutions that are now being purged.
15,000 education staff have been suspended from the jobs on Tuesday, with the government accusing them of links to Fethullah Gulen.
Earlier, Erdogan said during an interview with Al-Jazeera aired on July 20 that foreign countries could have been involved in the coup attempt, although he declined to name any country.
He was in the Aegean resort of Marmaris when the coup struck and then flew to Istanbul where he had stayed since, appearing before supporters each night in a "vigil" for democracy.
European Union foreign policy chief Federica Mogherini also warned Ankara on Monday that reinstatement of the death penalty for those involved in the coup attempt would spell the end to Turkey's years-long bid to join the EU.
Police officers escort admiral Atilla Demirhan, front, and a group of millitary personal detained in Mersin, Turkey, Tuesday, July 19, 2016.
Thousands of police, judges and prosecutors were also dismissed from their posts in the first hours after it was clear that Mr. Erdogan had survived the challenge to his power.
Then came the country's education system.
Southwest Airlines halts flights after technical outage
This is a breaking news story and will be updated as more information becomes available. "Thank you for your patience". Southwest is Tampa International Airport's largest domestic carrier and accounts for 35 percent of all air traffic.
Turkey has now fired or suspended about 50,000 people after a failed coup over the weekend as it intensifies its vast purge - battering the country's security forces and many of its democratic institutions.
It has also demanded the resignations of 1,577 university deans.
The violence surrounding the coup attempt claimed the lives of 208 government supporters and 24 coup plotters, according to the government.
The Directorate of Religious Affairs announced it had sacked 492 staff including clerics, preachers and religious teachers.
Turkey is increasing pressure on the United States to extradite Gulen, who said the accusations that he was behind the failed coup are "ridiculous".
Erdogan's chief adviser Cemil Ertem told Anadolu news agency there's no plan to impose capital controls, and Deputy Prime Minister Mehmet Simsek said on Twitter that policy steps taken will be "market friendly".
"We will dig them up by their roots so that no clandestine terrorist organisation will have the nerve to betray our blessed people again". Gulen denies any involvement.
"The fact that so many judges have been detained, never mind the workload at the courthouses, will render them inoperable", said Vildan Yirmibesoglu, a human rights lawyer.
- Arvind Kejriwal dubs BJP government 'anti-Dalit', meets victims in Gujarat
- SDCC 2016: Watch The First Wonder Woman Trailer
- Castro powers Yankees past Orioles in 7-1 win 1
- Bush worried he will be last GOP president
- William and Kate applaud Sir Ben Ainslie after America's Cup triumph
- Opponents accuse Jeremy Corbyn of failing to protect them from intimidation
- New plunder case being readied against Arroyo 'more oppressive, cruel,' lawyer says
- New brain map more than doubles charted regions of the human noggin
- All Twitter users can now apply to get 'blue tick'
- Square Enix announces its first Apple Watch RPG