a fence—but one of masonry is a wall. A common term for both is barrier, which is convenient for structures that are partly wall and partly fence—for example the Berlin Wall. Another kind of wall-fence ambiguity is the ha-ha—which is set below ground level to protect a view, yet acts as a barrier (to cattle, for example). Before the invention of artillery, many of the world's cities and towns, particularly in Europe and Asia, had defensive or protective walls (also called town walls or city walls). In fact, the English word "wall" derives from Latin vallum—a type of fortification wall. These walls are no longer relevant for defense, so such cities have grown beyond their walls, and many fortification walls, or portions of them, have been torn down—for example in Rome, Italy and Beijing, China. Examples of protective walls on a much larger scale include the Great Wall of China and Hadrian's Wall. Border wall Some walls formally mark the border between one population and another. A border wall is constructed to limit the movement of people across a certain line or border. These structures vary in placement with regard to international borders and topography. The most famous example of border barrier in history is probably the Great Wall of China, a series of walls that separated the Empire of China from nomadic powers to the north. The most prominent recent example is the Berlin Wall, which surrounded the enclave of West Berlin and separated it from East Germany for most of the Cold War era. The US-Mexico border wall, separating the United States and Mexico, is another recent example. Retaining wall In areas of rocky soils around the world, farmers have often pulled large quantities of stone out of their fields to make farming easier and have stacked those stones to make walls that either mark the field boundary, or the property boundary, or both. Retaining walls resist movement of earth, stone, or water. They may be part of a building or external. The ground surface or water on one side of a retaining wall is typically higher than on the other side. A dike is a retaining wall, as is a levee, a load-bearing foundation wall, and a sea wall. Shared wall Special laws often govern walls that neighbouring properties share. Typically, one neighbour cannot alter the common wall if it is likely to affect the building or