Korea was administratively partitioned in 1945, at the end of World War II. As Korea was under Japanese rule during World War II, Korea was officially a belligerent against the Allies by virtue of being Japanese territory. The unconditional surrender of Japan led to the division of Korea into two occupation zones (similar to the four zones in Germany), with the United States administering the southern half of the peninsula and the Soviet Union administering the area north of the 38th parallel. This division was meant to be temporary (as was in Germany) and was first intended to return a unified Korea back to its people after the United States, United Kingdom, Soviet Union, and China could arrange a single government for the peninsula.