Prime Minister Justin Trudeau issued a statement expressing concern about the uprising. Erdogan had been on a seaside vacation when tanks rolled into the streets of Ankara and Istanbul.
But, he said, "this coup failed because it lacked popular support, political support and worldwide support". Speaking to his supporters, he told them to resist the coup. The president, whom 52 percent of the people brought to power, is in charge.
Even soldiers supporting an attempted coup seemed confused about who was in control of the country, the elected government or a group of military plotters. He said Turkey has been preparing a formal application with detailed information about Gulen's illegal activities.
All groups that threaten the unity of Turkey "will pay a heavy price", he said.
When the coup attempt began, Erdogan's exact whereabouts were not clear.
A number of world leaders and the top officials of the European Union and North Atlantic Treaty Organisation earlier declared their support for the democratically elected government and president.
In Europe, the United States military command ordered American forces across Turkey to take maximum protective measures.
The moment civilians seize control of Turkish state TV.
Turkish President Recep Tayyip Erdogan escalated rhetoric Saturday by declaring in a speech directed at President Barack Obama, "Either arrest Fethullah Gulen or return him to Turkey".
Erdogan has long accused the cleric and his supporters of attempting to overthrow the government.
Trained as a prayer leader, Gulen gained notice in Turkey some 50 years ago, promoting a philosophy that blended a mystical form of Islam with staunch advocacy of democracy, education, science and interfaith dialogue.
German chancellor Angela Merkel condemned the coup attempt, saying it was "tragic that so many people paid for this coup attempt with their lives". He said a change of government should only come through a legal, constitutional process.
"Now we shall what the situation is in Turkey". "I categorically deny such accusations".
Forty-eight members of the Council of State linked to the FETO/PDY terrorist organization were also remanded into custody, and out of 140 Court of Appeal members detained who were linked to the FETO/PDY, 11 were remanded Saturday. One of those detained was the commander general of the second army, one of Turkey's most senior military officials. Earlier, Anadolu said a body overseeing judges and prosecutors in Turkey has dismissed 2,745 judges across Turkey.
The military chief of staff, Gen. Hulusi Akar, was rescued during an operation at an air base after being taken hostage earlier by pro-coup soldiers. Discarded gear was strewn on the ground. Some flag-waving people climbed onto the tanks. The soldiers were later arrested by police. "There were shots fired, the crowds got quite large and people were firing into the air to disperse crowds and kind of create panic", said witness Monique Jacques.
Meanwhile the capital, Ankara, was rocked by explosions Friday night, including a bomb that reportedly hit the Parliament building, according to Reuters. Television footage showed broken glass and other debris strewn across a lobby leading to the assembly hall. "And the United States will accept that and look at it and make judgments about it appropriately", Kerry said, according to the AP. If Turkey needs additional assistance, Kerry added, the U.S.is prepared to help.
Gokhan Tan-Getty ImagesSoldiers involved in the coup attempt surrender on Bosphorus Bridge in Istanbul, Turkey, on July 16, 2016. Emrah Gurel and Cinar Kiper in Istanbul and Jill Lawless in London also contributed.