They mean that the people elected a government they like. WaPo
During the talk, Rice, speaking of Iraq, said: "This is the only legitimately elected government in the Middle East with a possible exception of Lebanon, which was a peculiar election."
Not sure what she means by Lebanon, but what about the Palestinian territories? Because Hamas won, it's not legitimately elected?
I'm not saying I trust Hamas anymore than they do, but I sure do think I've heard this song before
. It always seems to end on a sour note.