On February 1 , 1946 , he was elected as the first United Nations Secretary-General as a result of a compromise between the major powers , having only missed being elected President of the first General Assembly by a small margin . On 1 February 1946 , he was elected as the first Secretary General of the United Nations as a result of a compromise between the major powers , having missed being elected President of the first General Assembly by only a small margin .