Turkey’s president, Recep Tayyip Erdogan, remains in power on Saturday after quelling an attempted coup by military officers who seized control of state television the night before, and then proceeded to shell the parliament in Ankara, deploy troops on major bridges in Istanbul, and put tanks on the streets of both cities.

While Erdogan has many critics, and has cracked down on dissent in the streets, in parliament, and on social networks, there was no evidence of popular support for the attempted coup — even from those who have protested against Erdogan’s ruling Justice and Development Party, known by the Turkish acronym AKP.

Opposition lawmakers, who sheltered in a bunker with members of the ruling party after the parliament was bombed during a debate, were quick to denounce the attempted coup.

The united opposition of Turks to the coup against Erdogan and his ruling Islamist party stood in marked contrast to comments from some Americans expressing support for the attempt to force an elected leader from power.

After Brad Sherman, a Democratic congressman from California, suggested that a coup could bring about “real democracy,” Turkey’s ambassador to the United States, Serdar Kilic, replied: “You should be ashamed of yourself for supporting a coup attempt and expecting democracy out of it.”

The public mood late on Friday was perhaps best summed up in a Snapchat video of tanks driving by an outdoor cafe on Bagdat Avenue in Istanbul, captioned with an emoji expressing alarm and the words, “ne oluyor,” or, “what is happening?”

The plotters failed, despite following a script that might have succeeded in the 20th century, in part because Erdogan was able to rally support for democratic rule using 21st century tools: video chat and social media.

After the officers claimed control of the country in a statement they forced a presenter to read on TRT, the state broadcaster, the country’s internet and phone networks remained out of their control. That allowed Erdogan to improvise an address to the nation in a FaceTime call to CNN Turk, a private broadcaster the military only managed to force off the air later in the night, as the coup unraveled. In his remarks, the president called on people to take to the streets.

Given that Erdogan’s government has shuttered privately owned television news channels that have been critical of him in the past year, he had reason to be thankful that CNN’s Turkish outlet was still on the air when he needed it.

The channel has not, however, been known as an enthusiastic supporter of Erdogan’s critics. When protesters took to the streets against his government in 2013, CNN Turk was widely mocked for broadcasting a documentary about penguins instead of live reports on the dramatic events unfolding live in Istanbul’s Taksim Square.

Minutes later, the president repeated his plea for protesters to defend democracy on his own Twitter feed.

Of course, having an iPhone and access to the internet is not alone enough to foil a coup — if it were, Mohamed Morsi would still be Egypt’s president, since he posted a similar plea for support on the presidency’s YouTube channel as he was being deposed in 2013. In that case, however, the coup was welcomed by millions of anti-government protesters, and the military was united and ruthless enough to massacre dissenters who took to the streets.

As TRT’s English-language channel explained later in an account of the night’s events produced after the coup failed, Erdogan’s call for protesters to flood the nation’s squares and airports to resist the putsch was heeded by his supporters.

Resistance to the coup was also encouraged by vivid images on social networks of abuses by the military forces, including distressing video clips of a helicopter gunship firing at civilians and fighter jets swooping low over Istanbul.


There was also extremely graphic video of a tank running over protesters in Istanbul, leaving many crushed beyond recognition.

While some major television channels were barred from broadcasting, Turkish journalists managed to streamed live video of the anti-coup protests using Facebook and Periscope.

As the coup faltered, images began to appear of civilians swarming tanks and soldiers surrendering or being arrested by police officers who remained loyal to the government.

When soldiers did belatedly arrive at CNN Turk and force the channel off the air, the station’s journalists, and a digital editor at Hurriyet, a newspaper in the same building, managed to report on the raid using Facebook and Twitter.

A short time later, when the soldiers there were arrested, that too was captured on video and reported online.

Zeynep Tufekci, a Turkish sociologist who studies the interaction between technology and protest movements, pointed out that Turks are particularly good at finding ways to use the internet to communicate in times of crisis because they have a lot of practice.

Restrictions on social networks in the country are common, and Erdogan himself blamed Twitter for popular resistance to his government’s crackdown on protests against the destruction of Gezi Park, a green space in the center of Istanbul, in 2013.

The irony of Erdogan now relying on social networks to rally protesters to his side was not lost on close observers.

Looking back at the events of the past 24 hours, Bilge Ebiri, a Turkish-American film critic, expressed admiration for the courage of Erdogan’s political opponents, who resisted the coup despite the increasingly autocratic way he has attempted to centralize power.