In April 2014, the President of the Constitutional Court, Haşim Kılıç, accused Erdoğan of damaging the credibility of the judiciary, labelling Erdoğan's attempts to increase political control over the courts as 'desperate'. During the chaotic 2007 presidential election, the military issued an E-memorandum warning the government to keep within the boundaries of secularism when choosing a candidate. Regardless, Erdoğan's close relations with Fethullah Gülen and his Cemaat Movement allowed his government to maintain a degree of influence within the judiciary through Gülen's supporters in high judicial and bureaucratic offices. Shortly after, an alleged coup plot codenamed Sledgehammer became public and resulted in the imprisonment of 300 military officers including İbrahim Fırtına, Çetin Doğan and Engin Alan. Several opposition politicians, journalists and military officers also went on trial for allegedly being part of an ultra-nationalist organisation called Ergenekon.