At first there was just one town, with the Danube flowing through the middle of the town. Since the end of World War I, when Czechoslovakia became a separate country from Hungary, the town has been split into two: Komárno is on the left (north) bank of the river, now in Slovakia, and Komárom is on the right (south) bank of the river, in Hungary. Komárno has a population of 37.000 and Komárom has a population of 19.600. The two towns are joined by a bridge.