I see two opposing political statements. Terrorism is only a threat to democracy if the people are not in agreement that
We live in a democracy, hence the argument, Constitutional republic or democracy. It's both.
If the majority of people believe in liberty and are willing to defend it against all comers terrorism is never truly a threat.