Turkish flags flutter nest to a huge portrait of Turkey's President and leader of the Justice and Development Party (AKP) Recep Tayyip Erdogan as he gives a speech during an AKP pre-election rally in Yenikapi Square in Istanbul on June 17, 2018. - With a week to go to crucial Turkish elections, the leader of the AKP  and his main rival of the secular Republican People's Party (CHP) are trading blows in an unexpectedly bruising fight to win control of the country. (Photo by Aris MESSINIS / AFP)        (Photo credit should read ARIS MESSINIS/AFP/Getty Images)
The Erdogan effect: How one man shaped Turkey
03:32 - Source: CNN
CNN  — 

Turkey lifted a state of emergency Thursday, two years after a dramatic coup attempt nearly toppled President Recep Tayyip Erdogan.

The news was announced by the state-run Anadolu news agency.

“To enact a state of emergency, the government must foresee serious indications of widespread violence which may interfere with the democratic environment or basic constitutional rights and freedoms of its citizens,” it said in a report.

A state of emergency was declared on July 20, 2016, after the deadly coup attempt left at least 290 people dead and more than 1,400 injured in a chaotic night of violence.

Tanks rolled into the streets of Turkey’s two largest cities as soldiers blocked the famous Bosphorus Bridge in Istanbul, bombs struck the parliament building in the capital Ankara, and a helicopter stolen by rogue pilots was shot down by an F-16 jet.

President Erdogan was hundreds of miles away at a seaside resort when the coup, mounted by a faction of the military, got underway. By the time Erdogan emerged to address the nation via FaceTime hours later, it had already begun to fizzle.

Thousands of alleged plotters were rounded up the following day, as Erdogan claimed his exiled former ally Fethullah Gulen was behind the attempt, a charge the US-based cleric denied.

exp GPS 2016 Turkey Gulen interview _00015601.jpg
Turkey's Gulen responds to 2016 coup allegation
11:09 - Source: CNN

Turkey has been under a state of emergency since then, and Erdogan has tightened his grip on power while overseeing a massive purge of those who he says rose up against him.

Erdogan was reelected last month, seeing off the most serious challenge yet to his political dominance in a vote which granted him unprecedented power to shape the future of Turkey.

Responding to the lifting of the emergency order Thursday, Fotis Filippou, Amnesty International’s deputy Europe director, said it was a “step in the right direction,” but needed to be accompanied by “urgent measures if it is to be anything more than a cosmetic exercise.”

“Over the last two years, Turkey has been radically transformed with emergency measures used to consolidate draconian powers, silence critical voices and strip away basic rights. Many will remain in force following the lifting of the state of emergency,” Filippou said.

He added that tens of thousands of people had been “locked up by a judiciary that lacks the most basic independence and incarcerates real or perceived critics of the government without evidence of any actions that can reasonably constitute offenses.”

“The lifting of the state of emergency alone will not reverse this crackdown,” Filippou said. “What is needed is systematic action to restore respect for human rights, allow civil society to flourish again and lift the suffocating climate of fear that has engulfed the country.”

CNN’s Gul Tuysuz and Alper Tugra Cakici contributed reporting.