When you want a country to be free and democratic, you can't also tell them who to elect. You have to choose one or the other. The United States has often chosen the latter while pretending to want the former, but at least with Iraq they seem to be mostly hands off (in recent years).
I don't the right prior here is "elections = real democracy", for cases like Iraq. The US has long history of installing "democratic" governments that are not actually democratic, but rather military states who violently suppress the people, but support US interests. The list of countries where this has borne out is long, but if you are interested, an easy place to start would be Cold War era South America (Guatemala and El Salvador being two straightforward examples).
The Sunni minority once ruled but now the Shia majority rule and the government is said to be aligned with Shia-majority Iran.
Seems like it's usually a government that's popular with its people that gets overthrown and replaced by a "democratic" government.
Wasn't that what happened in Egypt?
https://en.wikipedia.org/wiki/Ahmed_Chalabi
IRGC had also announced the Syria as its 35th province.
https://carnegieendowment.org/2013/08/27/iran-s-unwavering-s...
IRGC and Russian bombing had driven out most of the Sunni's from Southern Syria towards north Syria, close to Turkish borders. and Iran is repopulating the land with Shias from allover from Afghanistan to Lebanon.
https://www.theguardian.com/world/2017/jan/13/irans-syria-pr...
IRGC has sort of created a contiguous Shia controlled land mass from Iran, Iraq, Syria to Lebanon. Some geopolitical observers I follow, expect the next will be in Afghanistan, with Afghani Shias against Pakistan controlled Sunni Talibans, as soon as US withdraws from Afghanistan.
- to the people, it means a government that is less corrupt and more accountable to do the people's work; a semi-meritocracy.
- in diplomatic circles, it means whatever Americans and their rich owner-class want. There aren't very many democratic countries allowed; they're usually small and don't have a resource curse.
The same mistake is repeated again and again, even today.