Daugavpils (; ; ) is a city in southeastern Latvia. It is on the banks of the Daugava River, from which the city gets its name. Daugavpils literally means "Daugava Castle". It is the second largest city in the country after the capital Riga.