After Nazi Germany's unconditional surrender in May 1945, the victorious Allies divided the country into four occupation zones:
Berlin, deep inside the Soviet zone, was similarly split into four sectors (Soviet, U.S., British, French)—setting the stage for the Cold War's most famous flashpoint.
In 1947, the U.S. and U.K. merged their zones into the Bizone (later Trizone with France). In 1949, the Trizone became the Federal Republic of Germany (West Germany). Months later, the Soviet zone became the German Democratic Republic (East Germany).
Berlin's sectors mirrored this: West Berlin (U.S./UK/French sectors) became a capitalist enclave; East Berlin (Soviet sector) became the GDR's capital. The Berlin Wall (1961–1989) physically cemented the divide.
Reunification came on October 3, 1990, after the Wall's fall and the GDR's collapse. The four-power occupation formally ended with the Two Plus Four Treaty (1990).