Hundreds of thousands of Turks have rallied to mark the anniversary of last year's failed coup in an outpouring of mass support for President Tayyip Erdogan that lay bare the divisions of a society riven by widespread purges.
Flag-waving crowds gathered in Istanbul on Saturday to listen as a defiant Erdogan promised to punish his enemies and praised the unarmed civilians who last year stood up to the rogue soldiers and their tanks.
"They showed no mercy when they pointed their guns at my people," Erdogan said. "What did my people have? They had their flags - just as they do today - and something much more important: They had their faith."
Some 250 people were killed and parliament was bombed before the coup was put down.
But along with a groundswell of nationalism, the coup's greatest legacy has been a far-reaching crackdown that has deepened the divide between Western-facing, secular Turks and the millions who back Erdogan's Islamist-rooted politics.
Some 150,000 people have been sacked or suspended from jobs in the civil service and private sector and more than 50,000 detained for alleged links to the putsch.
On Friday, the government said it had dismissed 7000 more police, civil servants and academics for suspected links to the US-based Muslim cleric Fethullah Gulen who it blames for the takeover bid.
"Nobody who betrays this nation can remain unpunished," Erdogan said, promising again to restore the death penalty if parliament votes to bring it back - a move that would all but end Turkey's bid to join the European Union.
Critics, including rights groups and some Western governments, say that Erdogan is using the state of emergency introduced after the coup to target opposition figures including rights activists, pro-Kurdish politicians and journalists.
The two co-leaders of the pro-Kurdish Peoples' Democratic Party (HDP) are in jail - as are local members of rights group Amnesty International and nearly 160 journalists, according to the Committee to Protect Journalists.
At a parliamentary ceremony in Ankara on Saturday, the head of the main opposition Republican People's Party (CHP) decried what he said was the erosion of democracy following the coup.
"This parliament, which withstood bombs, has been rendered obsolete and its authority removed," said Kemal Kilicdaroglu, in a reference to an April referendum that Erdogan narrowly won, giving him sweeping executive powers.
"In the past year, justice has been destroyed. Instead of rapid normalisation, a permanent state of emergency has been implemented."