wars in which Scottish soldiers have been involved. Beside the museum is Butts Battery, named after the archery butts (targets) formerly placed here. Below it are the Western Defences, where a postern, named the West Sally Port, gives access to the western slope of the rock. Upper Ward The Upper Ward or Citadel occupies the highest part of the Castle Rock, and is entered via the late 17th-century Foog's Gate. The origin of this name is unknown, although it was formerly known as the Foggy Gate, which may relate to the dense sea-fogs, known as haars, which commonly affect Edinburgh. Adjacent to the gates are the large cisterns built to reduce the castle's dependency on well water and a former fire station, now used as a shop. The summit of the rock is occupied by St Margaret's Chapel and 15th-century siege gun Mons Meg. On a ledge below this area is a small 19th-century Dogs' Cemetery for the burial of the soldiers' regimental mascots. Besides this, the Lang Stair leads down to the Argyle Battery, past a section of a medieval bastion, and gives access to the upper storey of the Argyle Tower. The eastern end of the Upper Ward is occupied by the Forewall and Half Moon Batteries, with Crown Square to the south. St. Margaret's Chapel The oldest building in the castle and in Edinburgh is the small St. Margaret's Chapel. One of the few 12th-century structures surviving in any Scottish castle, it dates from the reign of King David I (r.1124–1153), who built it as a private chapel for the royal family and dedicated it to his mother, Saint Margaret of Scotland, who died in the castle in 1093. It survived the slighting of 1314, when the castle's defences were destroyed on the orders of Robert the Bruce, and was used as a gunpowder store from the 16th century when the present roof was built. In 1845, it was "discovered" by the antiquary Daniel Wilson, while in use as part of the larger garrison chapel, and was restored in 1851–1852. The chapel is still used for religious ceremonies, such as weddings. Mons Meg The 15th-century siege gun or bombard known as Mons Meg is displayed on a terrace in front of St. Margaret's Chapel. It was constructed in the Flanders on the orders of Philip III, Duke of Burgundy, in 1449, and given as a gift to