This is a very hard question to answer because you do not tell us what sort of government the people do want and what kind of government they currently have.
If, for example, you have a democratic system and people want a dictatorship, the potential dictator might get elected democratically and then get more and more power for himself through legal or semi-legal means. An example of this would be Hugo Chavez in Venezuela. Chavez was elected in a democratic fashion. Since then, however, he has been taking more and more power for himself to the point that Venezuela's government no longer really resembles a true democracy. If this is the government that the people wanted, they got it first through democratic elections and then through Chavez's legal (and semi-legal) actions while in power.