Retaining walls are used to retain earth or other material in a vertical position where there is an abrupt change in ground level. This causes lateral pressure on the wall from the retained material. There are four main types of retaining walls: gravity walls, which rely on their own weight for stability; cantilever walls, the most common type for heights up to 8 meters, consisting of a vertical stem and base slab; counterfort walls, which have transverse supports called counterforts to reduce bending moments for heights over 7 meters; and buttress walls, similar to counterfort walls but with supports located in front instead of behind.