When did the Cold War take place?

It started shortly after WWII ended in the late 1940's when the allied forces were dividing up Germany. Russia took half of Berlin and East Germany and the rest of the Allied forces got the rest. Russia immediately refused entrance or exit of any citizen once they took over their claimed lands and the war began. In the 50's they erected the Berlin Wall. It ended in 1991 when the Soviet Union fell.