Shooting to kill during elections and firing a warning shot at a polling station are acts of terrorism.