The European Union , the United Nations and NATO hailed the election and praised those who voted .