The Northern Line is a railway line in Thailand, running between the capital Bangkok and the northern city of Chiang Mai. It is the second longest railway line in Thailand at 751 kilometres (467 mi) long, has 130 operational stations and halts, and is operated by the State Railway of Thailand. The line first opened in 1896. Major cities served by the line include Bangkok, Ayutthaya, Nakhon Sawan, Phitsanulok, Lampang, and Chiang Mai.