The ramparts of Quebec City are situated atop Cap Diamont, a large promontory in the city. The ramparts encircled the western portions of the Upper Town of Old Quebec, with the other sides of the Upper Town protected by steep cliffs with a 90-metre-drop (300 ft). The total length of the ramparts is approximately 4.6 kilometres (2.9 mi).