Daugavpils (see also other names) is a state city in southeastern Latvia, located on the banks of the Daugava River, from which the city derives its name. The parts of the city to the north of the river belong to the historical Latvian region of Latgale, and those to the south lie in Selonia. It is the second-largest city in the country after the capital Riga, which is located some 230 kilometres (143 miles) northwest and is the ninth most populous city in the Baltic states.
Daugavpils is located relatively close to Belarus and Lithuania (distances of 33 km (21 mi) and 25 km (16 mi), respectively), and some 120 km (75 mi) from the Latvian border with Russia. Daugavpils is a major railway junction and industrial centre, and was an historically important garrison city lying approximately midway between Riga and Minsk, and between Warsaw and Saint Petersburg.