The Romans called the settlement at what is todayCarlisle Luguvalium. This was originally thought to mean "wall of Lugus" but has since been explained as a borrowed Brittonicplacenamereconstructed as *Luguwalion, meaning " of Luguwalos", Luguwalos being a masculine Celtic given name meaning "strength of Lugus". The name apparently continued in use among Brythonic speakers in the Hen Ogledd and Wales and it was during that time that the initial element caer was added. The place is mentioned in Welsh sources such as Nennius, who calls it, and the Book of Taliesin where it is rendered . The earliest record of the place in English is as Luel ; later medieval forms include Cardeol, Karlioli, and Cærleoil. These appear to suggest that the northern form of the name did not have the final -ydd.
Following their earlier conquest of Britain and Boudica's revolt, the Romans erected a timber fort south of the River Eden, on the site of the later Carlisle Castle, around 72. The settlement was listed as part of the northern leg of the Roman-era Antonine Itinerary. Following the fort's demolition around 103, a second timber fort was constructed. About 165, this was replaced by a stone fortress. Timber structures further to the south-east were probably associated military buildings. These were also later replaced in stone. When the civilian settlement in this area was enclosed by a stone wall is unknown, but it is generally assumed to have followed the line of the later medieval wall. The town probably became the civitas capital of the Carvetii tribe some time in the 2nd century and Cair Ligualid was listed among the 28 cities of Britain in Nennius. A single large stone building has been located which may have been for administrative use. Industry included copper working and tanning, while merchants are also in evidence. Inscriptions show there was a Mithraeum in the town and possibly a temple to Mars, who was identified with the local deity Belatucadros. In 2017 the fort baths of the Hadrian's Wall fort of Stanwix, north of the River Eden, were discovered by the river in the cricket ground.
Medieval
occupation of Luguvalium seems to have continued unbroken after the Roman withdrawal from Britain around 410. Possible 5th-century buildings have been identified during excavation, and the settlement has been identified as the court of Urien Rheged's kingdom. Saint Cuthbert visited the town in the 7th century and, according to Bede, described the high stone walls and an impressive fountain, presumably fed by a still-functioning aqueduct. The place was under the control of a praepositus civitatis.