Linlithgow (lɪnˈlɪθɡoʊ ; Lithgae; Gleann Iucha) is a town in West Lothian, Scotland. It was historically West Lothian's county town, reflected in the county's historical name of Linlithgowshire. An ancient town, it lies in the Central Belt on a historic route between Edinburgh and Falkirk beside Linlithgow Loch. The town is situated approximately 20 miles (32 km) west of Edinburgh. During the medieval period, the town grew in prominence as a royal burgh and residence around Linlithgow Palace. In later centuries, Linlithgow became a centre of industry in leather making and other materials, before developing rapidly in the Victorian era with the opening of the Union Canal in the 1820s and the arrival of the railway in 1842. Linlithgow was the former county town of the county but the Council now resides in nearby Livingston. Today Linlithgow has less industry and the economy of the town centre is focused on hospitality, heritage and tourism services. Linlithgow's patron saint is Saint Michael and its motto is St. Michael is kind to strangers. A statue of the saint holding the burgh coat of arms stands on the High Street. In 2019, the population of the Linlithgow ward (which includes the town and greater area) was 16,499. The name Linlithgow comes from the Old Welsh lynn llaith cau meaning "lake in the moist hollow". Originally "Linlithgow" referred to the loch itself, the town being known as just "Lithgow" (hence the common surname). Folk etymology associated this name with the Gaelic liath-chù meaning "grey dog", likely the origin of the black bitch on the burgh arms. Evidence of Bronze Age and Iron Age settlements has been found around Linlithgow, in the form of Crannogs in Linlithgow Loch. Linlithgow gained its royal status as a burgh in 1388 under a charter from Robert II of Scotland. Linlithgow developed in the Middle Ages as a royal residence for Scottish Kings on the raised hill beside the Loch, as the site was a logical stop between Edinburgh to the east and Stirling to the West.