Here is some information from F. William Engdahl on the failed Turkey coup.
F. William Engdahl is a strategic risk consultant and lecturer; he holds a degree in politics from Princeton University and is a bestselling author on oil and geopolitics, exclusively for the online magazine New Eastern Outlook.
Due to the huge geopolitical shifts happening in the world the coup was hurriedly instigated by the CIA to oust Erdogan and install an easier to control US puppet. Obviously the coup failed and now the US is crawling to Erdogan because they need Turkey onside desperately.
“This was a network of officers inside the Army loyal to the Fetullah Gülen Movement. Gülen is a 100% CIA controlled asset. He even lives since years in exile in Saylorsburg, Pennsylvania having gotten safe passage and a green card by former top CIA people like Graham Fuller and the former US Ambassador to Ankara”.
The full article can be read here..... http://journal-neo.org/2016/07/18/behind-the-cia-desperate-turkey-coup-attempt/