The Berlin Wall was erected in 1961 by the East German government to stem the massive exodus of its population to the west. It succeeded in reducing the outflow to a trickle, although at least 5,000 people made it to the West alive while many others were killed in the attempt.