The democratically elected president was ousted by the military before his term was up. Sounds like a coup to me.
But, the democratically elected president overrode and/or overturned court decisions, parts of the constitution and some laws to give himself more power, disproportionate to what he was elected to wield, and seemed to be preparing to give himself even more. Sounds like a coup to me.
The democratically elected Congressional Representatives from the Republican Party redesign district boundaries so that Republican districts will always have a white Republican majority and can never be voted out and then change the rules of filibustering so they can prevent laws supported by the majority from being enacted and "holding" nominations so they can never reach the floor of the House, and thus with a tiny minority can control the federal government by preventing the will of the majorities in their state and country from being followed... Sounds like a coup to me.