The AKP party opposed the military's power because it blocked the party's path to Islamizing Turkish society and politics.
CENTERFORSECURITYPOLICY: Turkey's cautionary tale
2.
To carry out his long-term strategy of gradually Islamizing the country, Erdogan has identified himself as the embodiment of democracy, of the popular will, against threats from interventionists.