Taksim square military coup
© AFPTurkish soldiers outnumbered by citizens in Taksim Square who foiled their military coup on July 16, 2016.
The Turkish government says millions of citizens and police have successfully repelled an hours-long coup attempt led by a breakaway faction of the nation's army.

The first signs of trouble came early Friday night, when residents in Istanbul began to report the closure of the Bosphorus and Fatih Sultan Mehmet bridges.

people at faith sultan Mehmet bridge
© UnknownPeople take streets near the Fatih Sultan Mehmet bridge during clashes with military forces in Istanbul on July 16, 2016.
Amidst the confusion, Prime Minister Binali Yildirim said an attempted coup was underway and a group referring to themselves as a "peace council" claimed to be in control of the country.

A statement said the so-called "peace council" would draft a new constitution after calling for an immediate curfew and martial law in the country.

In the following hours, residents in Istanbul and capital Ankara, reported sounds of gunfire, explosions and jets flying through the night sky.

 Taksim square explosion
© UnknownA man runs away as heavy explosion noise heard after jets flew over Taksim square in Istanbul on July 16, 2016.
A few hours later, Turkish President Recep Tayyip Erdogan appeared before a crowd of thousands at Istanbul's Ataturk International Airport and announced that the coup had failed.

Timeline of Events (GMT+3):

09:20 am - Turkish PM Binali Yildirim says 161 people killed, 1,440 wounded, 2,839 army members detained including ordinary soldiers and high-ranking officers. Says those who formed backbone of coup detained, parliament meeting scheduled for 1200 GMT, calls on citizens to fill town and city squares with flags.

Turkish PM Binali Yildirim
© UnknownTurkish PM Binali Yildirim addresses a press conference Saturday, July 16, 2016.
09:02 am - Turkey's EU minister Omer Celik says coup situation "90 percent under control", but some commanders are still being held hostage.

08:00 am - Acting chief of staff of the armed forces, Umit Dundar, says coup attempt was mainly by troops from air force, gendarmerie, some "armoured elements".

05:54 am - Turkey's intelligence agency headquarters were attacked by military helicopters and heavy machinegun fire, wounding at least three people overnight, an intelligence source tells Reuters. The head of the agency, Hakan Fidan, was at a secure location throughout the events and was in constant contact with President Tayyip Erdogan and Prime Minister Binali Yildirim, the source adds.

05:29 am - The head of Turkey's armed forces, Hulusi Akar, has been rescued after being held hostage, a senior Turkish official says.

05:10 am - Turkey's military headquarters are now held by pro-government forces but small groups of rebel soldiers are still resisting and control some military helicopters, a senior Turkish official says. 29 colonels and five generals had been removed from their posts the official constinues.

flipped car ankara
© UnknownA flipped car lies in a road near military headquarters in Ankara, Turkey July 16, 2016.
04:33 am - Supporters of Turkish President Tayyip Erdogan attack a group of soldiers who had surrendered on an Istanbul bridge before police intervene to rescue them.

04:18 am - An email from the Turkish military General Staff's press office address says the faction of officers behind the coup attempt is still fighting. Calling itself the Peace at Home Movement, the faction tells people to stay indoors for their own safety.

04:00 am - Erdogan appears among supporters at Istanbul airport, says uprising has been attempted against solidarity and unity of country; says no power is above national will.

03:45 am - Around 30 soldiers, part of faction attempting to carry out a military coup, surrender weapons after being surrounded by armed police in Istanbul's central Taksim Square.
people at Istanbul's Taksim Square
© UnknownPeople take cover near policemen as gunfire are heard during an attempted coup in Istanbul's Taksim Square, Turkey, July 16, 2016.
03:45 am - Private broadcaster CNN Turk halts live news broadcast, presenter says soldiers entered studio control room.

03:27 am - Two more explosions hit parliament; member of parliament reached by telephone says lawmakers are hiding in shelters in parliament.

03:20 am - Turkish official says Erdogan's plane lands in Istanbul.

02:52 am - Yildirim says situation under control, blames Gulen movement, declares no-fly zone over Ankara. A US-based organisation close to Fethullah Gulen earlier denied involvement.

02:39 am - Bomb hits parliament in Ankara, state-run Anadolu Agency says. Reuters witness hears blast in Istanbul.
Turkish parliament building
© UnknownPeople are pictured outside the parliament building in Ankara, Turkey July 16, 2016, after an attempted Turkish military coup.
02:20 am - In a phone to Mevlüt Çavuþoðlu, the Turkish foreign minister, John Kerry, US Secretary of State, reasserts Washingtons: "Absolute support for Turkey's democratically elected, civilian government and democratic institutions."

02:13 am - Group close to US-based cleric Gulen says accusations it was involved in coup attempt are "highly irresponsible". Condemns military intervention in Turkish politics, says concerned about safety of citizens.

02:05 am - President Obama says he and Secretary of State Kerry agree that all parties in Turkey should support elected government. Urges restraint, avoidance of bloodshed - White House statement.

02:04 am - State-run Anadolu Agency says 17 police killed at Ankara special forces HQ; no independent confirmation

01:59am - Turkish fighter jet shoots down military helicopter used by coup-plotters over Ankara.
People taking cover from jets
© UnknownPeople take cover as jet fighters pass over near the Bosphorus bridge as Turkish military clash with people at the entrance to the bridge in Istanbul on July 16, 2016.
01:51am - Commander of special forces says a group has engaged in treason, they will not succeed. Says military does not condone coup.

01:47 am - Yildirim says gangs and illegal formations are behind coup attempt, and calls it a terrorist act. He says government remains in charge. Urges people to take to the streets.

01:37 am - Commander of First Army, part of land forces responsible for Istanbul and other western areas, said those attempting a coup were a small faction and "nothing to worry about".

01:26 am - Two loud explosions heard in centre of Ankara.

01:08 am - Tanks surround Turkish parliament building, open fire. Gunfire heard at Istanbul airport.
People take streets in Ankara
© UnknownPeople take streets in Ankara, Turkey during a protest against military coup on July 16, 2016
01:03 am - Justice minister says members of a movement loyal to US-based cleric Fethullah Gulen in the army are behind the attempted coup.

00:51 am - A military helicopter opens fire over the Turkish capital Ankara, witnesses report an explosion in the capital.

00:35 am - Turkish state broadcaster TRT goes off air, but later starts broadcasting from London.

00:26 am - Erdogan urges people to take to the streets to protest against what he describes as a coup attempt by a minority faction within the military. Speaking via a cellphone video link he says it will meet a "necessary response". He says he is returning to Ankara.

00:22 am - Yildirim says on Twitter everything will be done to put down coup attempt, even if it means fatalities. Says sieges are under way at some important buildings, without specifying, but urges people to remain calm.

00:18 am - Presidential source says president and government are still in power.

00:05 am - TRT says reading statement on the orders of the military - that new constitution will be prepared, accuses government of eroding democratic and secular rule of law, that the country is being run by a "peace council", that martial law imposed, curfew imposed across the country.

00:02 am - Head of Istanbul branch of ruling AK Party says soldiers enter party building, told to go.

23:58 pm - Soldiers inside TRT building in Ankara, TRT correspondent tells Reuters.

23:57 pm - Facebook, Twitter, YouTube and other social media restricted in Turkey, say internet monitoring groups. Social media access was also restricted following last months attack on Ataturk International Airport.
Detained police officers
© UnknownTurkish security officers detain police officers on the side of the road on July 15, 2016 in Istanbul, during a security shutdown of the Bosphorus Bridge.
23:49 pm - Presidential source says statement made on behalf of armed forces was not authorised by military command.

23:47 pm - Chief of military staff among hostages taken at military headquarters in Ankara, says state-run Anadolu agency.

23:38 pm - President Recep Tayyip Erdogan is safe.

23:25 pm - Turkish military says has taken power to protect democratic order. In a statement sent by email and reported on Turkish TV channels, the military says all of Turkey's existing foreign relations will be maintained.

23:02 pm - Prime Minister Binali Yildirim says attempted coup under way, calls for calm. He says a group within Turkey's military has attempted to overthrow the government and security forces have been called in to "do what is necessary."

22:50 pm - Gunshots are heard in Ankara, the capital, military jets and helicopters seen flying overhead. Helicopters seen overhead in Istanbul.
Police officers at Turkish military headquarters
© UnknownPolice officers stand guard near the Turkish military headquarters in Ankara, Turkey, July 15, 2016.
22:29 pm - Istanbul's Bosphorus Bridge and Fatih Sultan Mehmet Bridge are both closed. Dogan News Agency footage shows cars and buses being diverted.

Source: TRTWorld and agencies