We are in charge, president says, as Turkey coup bid collapses with dozens dead
Turkey's president has told the nation that his government is in charge after a coup attempt brought a night of explosions, air battles and gunfire that left dozens dead.
At least 161 people were killed in the country's overnight military coup attempt, it has been announced, while more than 1,400 people were wounded in the chaos.
More than 2,800 people have been detained.
Most of those arrested were from lower military ranks, an official said.
Turkey's state-run Anadolu Agency said all soldiers involved in the attempted coup at the military headquarters in the capital, Ankara, have been taken into custody.
The report said anti-terrorism police will now conduct a "detailed search" at the headquarters.
President Recep Tayyip Erdogan warned coup supporters that "they will pay a heavy price for their treason to Turkey", according to a transcript of his remarks provided by his office.
"Those who stain the military's reputation must leave. The process has started today, and it will continue just as we fight other terrorist groups."
Meanwhile, Turkish Prime Minister Binali Yildirim described the night as a "dark stain for Turkish democracy" and pinned blame for the attempted coup on the "parallel terrorist organisation".
That term is used by authorities to describe the movement of US-based Islamist cleric Fethullah Gulen.
"They will receive every punishment they deserve," the prime minister said, noting the perpetrators were now in the hands of the justice system.
News agency Anadolu said military chief of staff General Hulusi Akar is taking over the command of the operation against the coup plotters, CNN-Turk said.
Fighting continued throughout the morning, with the sounds of huge blasts echoing across the capital, Ankara, and Istanbul, including at least one bomb that hit the parliament complex.
Television footage showed images of destruction at the parliament, which according to a politician was targeted by three bombs, with broken glass and other debris strewn across a lobby leading to the assembly hall.
Government officials said the coup appeared to have failed as Turks took to the streets overnight to confront troops attempting to take over the country.
The chaos capped a period of political turmoil in Turkey which critics blamed on Mr Erdogan's increasingly authoritarian rule, which has included a government shake-up, a crackdown on dissidents and opposition media and renewed conflict in the mainly Kurdish areas of the south-east.
Turkey, a Nato member, is a key partner in US-led efforts to defeat the Islamic State group, and has allowed American jets to use its Incirlik air base to fly missions against the extremists in nearby Syria and Iraq.
A coup against the democratically elected government could make it difficult for the United States to continue to cooperate with Turkey.
Addressing supporters outside Istanbul Ataturk Airport on Saturday morning, Mr Erdogan told the crowd assembled there: "They have pointed the people's guns against the people. The president, whom 52% of the people brought to power, is in charge. This government brought to power by the people is in charge. They won't succeed as long as we stand against them by risking everything."
Justice minister Bekir Bozdag said security forces have defeated coup plotters in several places, including police and government buildings, according to the Anadolu news agency.
"There is nowhere they have proper control," Mr Bozdag said. "God willing, they will be defeated in the remaining areas and those in the air will be brought down."
In images broadcast on CNN-Turk, dozens of soldiers walked among tanks with their hands held up, surrendering to government forces on Istanbul's Bosphorus Bridge. Discarded gear was strewn on the ground. People, some holding flags, climbed onto the tanks.
At the Etimesgut armoured units training command, in the outskirts of Ankara, some soldiers who took part in the attempted coup were arrested by fellow officers or soldiers and handed over to police, it was reported.
Meanwhile, Turkish foreign minister Mevlut Cavusoglu has said Turkey has demanded the extradition of officers who went to Greece, NTV television reported.
Greece's defence ministry said seven military personnel and one civilian landed there in a Blackhawk military helicopter and asked for asylum. They were arrested for illegal entry.
Anadolu quoted Mr Cavusoglu as saying that "we have demanded the immediate return of the eight treacherous officers who fled to Greece by helicopter".
Mr Erdogan, who said his general secretary had been abducted by the coup plotters, flew into Ataturk airport early Saturday and was greeted by large crowds. Hours earlier, as the coup attempt got under way, his office declined to say where he was, and he was forced to give an interview over FaceTime to a television station.
US President Barack Obama urged all sides in Turkey to support the democratically elected government. Nato Secretary-General Jens Stoltenberg said he spoke to Turkish foreign minister Mevlut Cavusoglu and called for respect for democracy.
The coup attempt began late on Friday, with a statement from the military saying it had seized control "to reinstall the constitutional order, democracy, human rights and freedoms, to ensure that the rule of law once again reigns in the country, for law and order to be reinstated".
Fighter jets buzzed overhead, gunfire erupted outside military headquarters and vehicles blocked two major bridges in Istanbul. Soldiers backed by tanks blocked entry to Istanbul's airport for a couple of hours before being overtaken by pro-government crowds carrying Turkish flags, according to footage broadcast by the Dogan news agency.
But the military did not appear unified, with top commanders taking to television to condemn the action and order troops back to their barracks.
"Those who are attempting a coup will not succeed. Our people should know that we will overcome this," General Zekai Aksakalli, the commander of the military special forces, told the private NTV television by telephone.
Fighter jets under the control of loyalist forces were flying over the capital to strike at helicopters flown by coup supporters, the Anadolu news agency said. NTV reported that one helicopter was shot down. Gunfire and explosions rang out.
Mr Erdogan called on Turks to take to the streets across the country, and many did, marching through the streets of Izmir and Istanbul, waving Turkish flags and gathering in the main square in Ankara.
The Dogan news agency reported that soldiers fired on a group of people trying to cross the Bosporus bridge to protest against the attempted coup, and that some people had been hurt. TV footage showed people running for cover amid gunfire.
Troops also fired in the air to disperse a growing crowd of government supporters at the Taksim monument in Istanbul as military helicopters flew overhead. A nearby mosque made an anti-coup announcement over its loudspeakers. Several blasts and the screech of fighter jets were heard in central Istanbul as dawn approached.
At least 42 people were killed in the capital, NTV quoted the prosecutor's office as saying. Parliament Speaker Ismail Kahraman said a bomb hit one corner of a public relations building inside the parliament complex, injuring some police officers. Turkish media broadcast images of plaster and debris strewn on the ground there.
Special forces police appeared to be deployed in the grounds of the parliament complex, just across the street from the military headquarters.
In Istanbul, an official at Haydarpasa Numune Hospital said at least 150 people were admitted with wounds but would not comment on whether there were fatalities.
In his TV address, Mr Erdogan also blamed the attack on supporters of Fethullah Gulen.
Mr Erdogan has long accused the cleric and his supporters of attempting to overthrow the government. The cleric lives in exile in Pennsylvania and promotes a philosophy that blends a mystical form of Islam with staunch advocacy of democracy, education, science and interfaith dialogue.
By Saturday morning, a top Turkish official said the coup attempt had been repelled. The senior official told the Associated Press that all government officials were in charge of their offices.
As the crisis unfolded, there were reports that access to popular social media sites like Twitter and Facebook had been blocked within the country.
Later, Anadolu said a top body overseeing judges and prosecutors had dismissed 2,745 judges across the country.
The agency said the emergency meeting of the Judges and Prosecutors High Council was held just hours after Turkish forces quashed the attempted coup.
The report said the meeting was called to discuss disciplinary measures against members suspected of links to the movement led by Fethullah Gulen.