The northern line is a railway line in Sri Lanka. Branching off the Main Line at Polgahawela Junction the line heads north through North Western, North Central and Northern provinces before terminating at the northern port of Kankesanthurai. The line is 339 kilometres (211 mi) long and has 55 stations between Polgahawela Junction and Vavuniya. It is the longest railway line in Sri Lanka. The line opened in 1894. Major cities served by the line include Kurunegala, Anuradhapura, Vavuniya and Jaffna. The popular Yal Devi service operates on the line. The line was severely affected by the civil war and no services operated north of Vavuniya after 1990. Reconstruction of this section of the line commenced following the end of the civil war in 2009 and was fully completed in early 2015.