Turkish President Tayyip Erdogan tightened his grip on his country Saturday in the wake of the failed military coup — seizing more than 2,250 social, educational and health-care institutions he claims pose a threat to national security.

Authorities also detained a nephew of Fethullah Gulen, the Pennsylvania-based Muslim cleric accused by Ankara of orchestrating the quashed July 15 coup, the Anadolu state news agency reported.

Muhammed Sait Gulen was detained in the northeastern Turkish city of Erzurum and will be brought to the capital for questioning, Reuters reported. Among possible charges that could be brought against him is membership of a terrorist organization.

Fethullah Gulen, who has lived in self-imposed exile Saylorsbug since 1999, denies any involvement in the failed coup, in which at least 246 people were killed.

Turkey has imposed a three-month state of emergency, saying it would enable authorities to effectively root out supporters of the failed coup. It also detained or dismissed tens of thousands of people in the military, the judiciary, the education system and other institutions.

The emergency allows Erdogan and the AK Party government to pass laws without parliamentary support, as well as to curb or suspend rights and freedoms as they deem necessary.

In his decree, Erdogan extended to a maximum of 30 days from four days the period in which some suspects can be detained. It said this would facilitate a full investigation into the failed coup, Reuters reported.

The decree authorizes the closure of 1,043 private schools, 1,229 charities and foundations, 19 trade unions, 15 universities and 35 medical institutions over suspected links to the Gulen movement, the Anadolu agency said.

Meanwhile, a top Turkish official accused some European countries of downplaying the acute danger posed by the failed insurrection — an apparent response to Western concerns about possible human-rights violations in the government’s crackdown.

“Some European colleagues think this is a Pokemon game, this coup attempt,” said Omer Celik, Turkey’s minister for EU affairs. “Come here and see how serious this is. This is not something we play in a virtual game. This is happening in real time in Turkey.”

Erdogan also lashed out about concerns that the large-scale purges — which have left at least 10,000 people jailed and about 50,000 fired or suspended — could jeopardize basic freedoms.

He told France 24 on Saturday that Turkey has no choice but to impose stringent security measures after the attempted coup was put down by loyalist forces and civilian protesters.

“We are duty-bound to take these measures. Our Western friends fail to see it that way. I cannot understand why,” Erdogan said. “I’m under the impression that they will only see that once all the political leaders of Turkey are killed, and then they’ll start to dance for joy.”

His critics fear he is using the aborted coup to wage an indiscriminate crackdown on dissent. The foundations targeted include, for example, the Association of Judges and Prosecutors, a secular group that criticized a recent judicial law drafted by Erdogan’s Islamist-rooted AK Party.

Erdogan, who narrowly escaped capture during the uprising, told Reuters that he would restructure the armed forces and bring in “fresh blood.”

And amid concerns that Turkey will reinstate the death penalty, which it abolished in 2004, the Greek foreign minister urged Turkey to exercise restraint.

“The winners of the internal conflict in Turkey must show magnanimity towards the defeated, (show) self-restraint and not reinstate the death penalty,” Greek Foreign Minister Nikos Kotzias told the Realnews newspaper.

With Post Wires