The people of Turkey have voted for him right? He improved their economic situation enormously, this is democracy, you get who you vote for.
Except lately the economy has been getting much worse. This is a regular pattern with right-wing populist governments. When they get into power they institute a set of economic policies that lead to wide-spread prosperity in the short term, but in the long-term are a disaster. As far as elections go, the government pretends to be in favor of free and fair elections, but its political philosophy is a set of arguments…
Left-wing populist governments have been known to do that, too.
And left-wing populist governments have also been known to place a thumb on the scales of elections, in order to make sure that they come out "correctly".