Supporters of the AKP wave Turkish national flags in Istanbul. AFP

Turkish President Erdogan's party loses Ankara and Istanbul in bruising local vote