Principles Governing Democratic Elections