On 10 May 1796, in the first major battle of his career as a general, the young Napoleon Bonaparte defeated the Austrians aka the 1526-1804 Habsburg Monarchy in the Battle of Lodi. In the second half of the 19th century, Lodi began to expand outside the city walls, boosted by economic expansion and the construction of railway lines that followed the unification of Italy.