Launceston Castle is located in the town of Launceston, Cornwall, England. It was probably built by Robert the Count of Mortain after 1068, and initially comprised an earthwork and timber castle with a large motte in one corner. Launceston Castle formed the administrative centre of the new earldom of Cornwall, with a large community packed within the walls of its bailey. It was rebuilt in stone in the 12th century and then substantially redeveloped by Richard of Cornwall after 1227, including a high tower to enable visitors to view his surrounding lands. When Richard's son, Edmund, inherited the castle, he moved the earldom's administration to Lostwithiel, triggering the castle's decline. By 1337, the castle was increasingly ruinous and used primarily as a gaol and to host judicial assizes.