While that's true, it is possible that an an elected government transforms the country into a dictatorship, e.g. by undermining the other branches of government, seeking control over the judiciary, press; changing the constitution to give themselves additional powers, etc.
That's happening in a lot of countries and from what I know (not in Turkey), it's also something that Erdogan did.
That's happening in a lot of countries and from what I know (not in Turkey), it's also something that Erdogan did.