Berlin's Medieval Wall was constructed around 1250, and was only around 6 feet high. It was built because the relatively new city (the first permanent settlement began sometime in the late 1100s) needed a way to defend itself. There aren't any hills in the area on which to build a fortress, so the best that the people at the time could do was throw together whatever stones and bricks they could find.