West Berlin consisted of the three Allied Sectors - American, British and French. It was divided from
East Berlin by the
Berlin Wall.
West Berlin was formally part of West Germany, though it was not a separate Bundesland.
see also Ich bin ein Berliner