Many kinds of election fraud are outlawed in specific electoral laws. Other kinds violate general laws, such as those banning assault, harassment or libel. Technically, the term "electoral fraud" covers only acts that are illegal. Generally, the term is sometimes used to describe acts that are legal but are considered morally unacceptable, outside the spirit of electoral laws, or in violation of the principles of democracy. 