Berlin is a country .
After World War II and its subsequent occupation by the victorious countries , the city was divided ; East Berlin was declared capital of East Germany , while West Berlin became a de facto West German exclave , surrounded by the Berlin Wall -LRB- 1961 -- 1989 -RRB- and East German territory .
Berlin