The United Nations Office for Outer Space Affairs was initially created as a small expert unit within the United Nations Secretariat to service the ad hoc Committee on the Peaceful Uses of Outer Space, established by the General Assembly in its resolution 1348 (XIII) of 13 December 1958.
The unit was moved to work under the Department of Political and Security Council Affairs in 1962 and was transformed into the Outer Space Affairs Division of that Department in 1968. In 1992, the Division was transformed into the Office for Outer Space Affairs within the Department for Political Affairs. In 1993, the Office was relocated to the United Nations Office at Vienna. At that time, the Office also assumed responsibility for substantive secretariat services to the Legal Subcommittee, which had previously been provided by the Office of Legal Affairs in New York.
Questions relating to the militarization of outer space are dealt by the Conference on Disarmament, based in Geneva.