Yes your right, there was a purge before, spearheaded by Gulenists and the AKP to remove secularists and the old guard from the military. They used fake evidence and Gulenist judges presided over their trials and they never got a fair trial. The Ergenekon trials should of been a warning to anyone who believes in justice that it was under threat from Gulenists.
A consequence of these purges by the Gulenists was that Gulenists within the military were promoted to take the place of those arrested or retired by the purges.
Now, knowing this it is clear the coup attempt was a panicked attempt to save themselves and the decades of work the "community" spent embedding themselves within state structures.
Yes, that matches quite well how I perceive things.
Key here is ”Gülenist and AKP”. Both Erdogan and Gülen are guilty here.
Most followers of them did not commit any crimes during the Ergenekon trials.
Only those producing fake evidence.
Then Erdogans inner circle was investigated for corruption.
Since Erdogan stopped the investigation by getting rid of all the investigators,
it was not allowed to complete.
I have no problem accepting that the Gülenists may have tried to assume control over Turkey by overthrowing Erdogan, but if it is done through legal means, I do not have a problem with things.
Even if it is done by producing fake evidence, that is a crime of the prosecutors, not of any Military men.
I do believe that a military man who has not committed any crime but finds out that he is about to get arrested and convicted in a phony trial, might consider a coup.
What is changed if Erdogans inner circle actually were corrupt?