Representatives of 51 countries signed the United Nations Charter in San Francisco, establishing the international organisation committed to maintaining peace and security and promoting human rights.