Turkey’s president Erdogan fulfills ambition, but at a cost