When the Second World War ended, the Soviets had control over East Germany while the USA, UK, and France had control over West Germany. This was the division of Germany. The city of Berlin, which was the capital of Germany was also divided between East and West Berlin. East Berlin was under Soviet influence while West Berlin was under American, British and French control. The city of Berlin was inside the territory of East Germany. Thus, West Berlin was surrounded by East Germany on all sides.