A Turkish court has upheld the convictions of key military officers ruled to have plotted the overthrow of PM Recep Tayyip Erdogan's government.
A retired general accused of being the coup plot organiser, Cetin Dogan, had his 20-year prison sentence upheld.
More than 300 people were jailed last year over the "Sledgehammer" plot against the Islamist-rooted government.
The appeals court also ruled that more than 100 defendants should be acquitted or face a retrial.
The investigations into Sledgehammer, and a separate alleged coup plot known as Ergenekon, are the most prominent cases that have been pursued against military officials by Mr Erdogan's government, which has its roots in political Islam.
'Preparing a coup'
At last year's trial near Istanbul, prosecutors said Operation Sledgehammer was a conspiracy created in 2003 whose aim was to trigger a coup against the elected government of Mr Erdogan.
Military officers were accused of plotting to bomb mosques and trying to trigger a war with Greece.
The prosecution argued that the officers aimed to provoke widespread civil unrest in order to justify a military intervention.
The Supreme Court of Appeals in Ankara has now decided to uphold the convictions of 237 retired officers.
The most prominent defendants - former army commander Cetin Dogan, former navy chief Ozden Ornek and former air force chief Ibrahim Firtina - had their 20-year sentences for plotting a coup confirmed.
Thirty-six retired military officers were acquitted by the Appeals Court.
Eighty-eight other defendants will have their cases re-assessed by lower courts, to see if they face a retrial or have no case to answer.
The defendants had argued that the evidence against them was fabricated, describing the two-year trial as "unfair and unlawful".
They also accused the government of carrying out a witch hunt against the armed forces.
The decision to uphold the majority of the convictions is a further sign that the Turkish military has lost its once-overwhelming political power, says the BBC's James Reynolds in Istanbul.
For decades, the armed forces were the ultimate arbiter in Turkish politics.
Between 1960 and 1997, the military forced out four civilian governments.
But over the last decade, Mr Erdogan's government has changed the balance of power in Turkey, says our correspondent.