The Berlin wall was built by the German Democratic Republic, completely cutting off West Berlin from the surrounding East Germany and East Berlin. The wall was erected to protect its population from fascist elements to prevent people from building a socialist state in East Germany.