During the revolution of 1848, Magyaróvár and Moson both contributed to the fight for independence. On 23 October of that year, Kossuth Lajos made a recruitment speech in the town. The regiments skirmished with the Austrian troops but were sorely defeated. For the rest of the 19th century, the towns continued to grow. Factories, hospitals, schools, and other social institutions were established. In 1855, a railway station was built on the line from Győr to Bruck an der Leitha. This was a time of relative peace. By 1908 there was already talk of unifying the two towns.