Lockerbie is a town in Dumfries and Galloway, south-western Scotland. It exists roughly 75 miles (121 kilometres) from Glasgow, and 20 miles (32 kilometres) from the English boundary. It had a population of 4,009 at the 2001 census. The town concerned global interest in December 1988 when the wreckage of Pan Am Flight 103 crashed there following a terrorist bomb attack aboard the trip. Lockerbie evidently has existed considering that at least the days of Viking influence in this part of Scotland in the duration around 900. The name (initially "Loc-hard's by") means Lockard Community in Old Norse. The presence of the remains of a Roman camp a mile to the west of the community suggests its origins may be also previously. Lockerbie first went into recorded background in the 1190s in a charter of Robert de Brus, second Lord of Annandale, giving the lands of Lockerbie to Adam de Carlyle. It looks like Lokardebi in 1306. Concerning 2 miles to the west of Lockerbie on 7 December 1593, Clan Johnstone combated Clan Maxwell at the Battle of Dryfe Sands. The Johnstones almost eliminated the Maxwells involved in the battle, resulting in the expression "Lockerbie Lick." Lockerbie's main period of growth began in 1730 when the landowners, the Johnstone household, made stories of land readily available along the line of the High Street, generating effectively a semi-planned negotiation. By 1750 Lockerbie had become a significant community, as well as from the 1780s it was a staging blog post on the carriage route from Glasgow to London. Possibly the most important duration of growth was during the 19th century. Thomas Telford's Carlisle-to-Glasgow roadway was built through Lockerbie from 1816. The Caledonian Railway opened up the line from Carlisle to Beattock with Lockerbie in 1847 and later all the way to Glasgow. From 1863 till 1966 Lockerbie was also a railway junction, offering a branch line to Dumfries. Known as the Dumfries, Lochmaben as well as Lockerbie Railway, it was closed to passengers in 1952 and to freight in 1966. The community is served by Lockerbie train station. Lockerbie had been house to Scotland's largest lamb market because the 18th century but the arrival of the Caledonian Railway raised additionally its role in the cross-border sell lamb. The railway also created a reducing in the rate of coal, allowing a gas works to be integrated in the town in 1855.