Along with the Allied agreement, the Basic Treaty (Grundlagenvertrag) (effective June 1973) recognized two German states, and the two countries pledged to respect one another's sovereignty. Under the terms of the treaty, diplomatic missions were to be exchanged and commercial, tourist, cultural, and communications relations established. Under the Agreement and the Treaty, in September 1973, both German states joined the United Nations.