He was an AKP parliamentary candidate in 2011 Turkish general election and the leader of the AKP in both the June 2015 Turkish general election and November 2015 Turkish general election general elections .