What we know:
- President Recep Tayyip Erdogan returned to Istanbul where he was met by large crowds at Ataturk Airport.
- He declared that the "government brought to power by the people is in charge.”
- While the government seems to be consolidating control in Istanbul, the situation remains more uncertain in the capital of Ankara, which appears to be the epicenter of the uprising.
- At least 161 people have been killed and scores more injured in attacks related to the attempted coup.
- Turkish Prime Minister Benali Yildirim said 2,839 plotters had been detained.
How it began:
- Turkish Prime Minister Binali Yildirim told a Turkish television network shortly before 1 p.m. Pacific that reports that a coup had been attempted in his country were correct.
- Military officials claimed they had seized control of the country shortly before 2 p.m.
- In an interview with CNN Turk, Erdogan urged Turkish citizens to take to the streets.
- By Friday night, Turkish television was broadcasting images of rebel soldiers surrendering.
Here's a look at terrorist attacks in Turkey this year:
Three suicide attackers armed with guns and bombs hit Istanbul's Ataturk Airport on June 28, killing more than 40 people and injuring more than 140 others in a coordinated assault. Although no one has claimed responsibility for the attack, Turkish officials said they believed it was the work of Islamic State.
In January, suicide bombers hit Sultanahmet Square in Istanbul, close to some of the city's main attractions, including the Blue Mosque and the Hagia Sophia Museum, as well as Istiklal Avenue, a busy pedestrian thoroughfare.
In addition, Turkish police have captured suspects identified as Islamic State operatives on the country's western tourism trail and even in the Black Sea city of Trabzon, which has become a destination for travelers from the wealthy Persian Gulf states.
A homegrown Islamic State cell has also carried out suicide bombings in the southeastern city of Adiyaman over the last year.