[4] 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.
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.
The town's history began in 1275 when the Livonian Order, led by Ernst von Ratzeburg, built Dünaburg Castle 20 km (12 mi) up the Daugava river from where Daugavpils is now situated.
That same year, a new castle and a town were built 20 km (12 mi) downriver, by the Polish King and the Grand Duke of Lithuania Stephen Báthory.
[8] When the Russo-Swedish war started, the Russians captured Daugavpils on 10 August 1656, renamed the town Borisoglebov and controlled the region for 11 years, between 1656 and 1667.
[9] Roman Catholic Bishop of Inflanty, who was always residing outside of diocese, moved his seat to Dyneburg at the end of 17th century.
It was the uyezd administrative center as part of the Pskov Governorate (1772-1776), Polotsk (1776-1796), Belarusian (1796-1802), and finally Vitebsk (1802-1917), first as Dinaburg, then Dvinsk later during Russian rule.
Nazi Brandenburgers led the German attack against the town in 1941, speaking Russian and wearing Soviet uniforms, and Germany occupied it between 1941 and 1944.
In the late Soviet era, there was a proposal to build a hydroelectric power station on the Daugava river that was successfully opposed by the nascent environmental movement in Latvia.
[18] The city not only boasted a large Jewish population but a rich religious culture including 40 synagogues.
The city was home to two of the most prominent rabbis of their time: Joseph Rosen (1858–1936), known as the Rogatchover Gaon (genius from Rahachow), was famed for his commentaries on the works of Maimonides and on the Talmud.
Rabbi Meir Simcha was also renowned for his work on Maimonides (Or Somayach) as well as Bible commentary Meshech Chochma.
[19] Another famous Jewish resident, moving in a very different direction, was the abstract expressionist painter Mark Rothko.
Rothko and many of his fellow Jews would have taken the train from Daugavpils to Libau, travelling westwards from Radviliškis on the Libau-Romny Railway, and would have crossed the seas by one of the steamships departing for New York via a regular service established in 1906 by the Russian American Line.
Jewish Daugavpils, a 16,000 strong community, already greatly diminished by emigration, came to an end following the Nazi German invasion on 26 June 1941.
Falsely claiming that the Jews had conspired to set fire to the town and that they were assisting the Soviet army, the Germans and their Latvian collaborators carried out large executions on 28–29 June.
Very prominently, all of the main denominations practiced in Latvia: Lutheran, Catholic, Orthodox and Old Believer are represented.
The historical centre of Daugavpils city is an architectural heritage of national importance (the construction work was carried out in the 19th century according to the project endorsed in St Petersburg in 1826).
The historical centre is the greatest attraction of the city and one of the most successful examples of balancing the aspects of ancient and modern times.
The cultural heritage of architectural, artistic, industrial, and historical monuments combined with the picturesque surroundings create the essence of Daugavpils’ image and endow it with a special charm.
The shape-forming techniques typical of eclecticism that were applied in the façades of these buildings even many decades later make one appreciate and admire the striking accuracy of detail.
A former Soviet Air Force base is located at Lociki 12 km (7 mi) northeast of downtown Daugavpils with the potential to be redeveloped as a civilian or military/civilian airport, although no plans have come to fruition as of 2023.
Industry is important and local employers include the Daugavpils Locomotive Repair Plant (Daugavpils Lokomotīvju Remonta Rūpnīca), the Ditton Driving Chain Factory (Ditton pievadķēžu rūpnīca), DAUER group of metalworks, Latvijas Maiznieks commercial bakery, Ziegler GmbH machine works, Axon cable assembly plant, Nexis Fibers industrial yarn, Latgales alus SIA brewery and Fores, a manufacturer of windows and interior wood fittings.
Lokomotiv Daugavpils is a Motorcycle speedway team which successfully competes in the Polish league system.