In 1828, there were three manufacturers and 460 workshops. The first factories were established in the 1840s (sugar and nail factories). The first telegram message arrived in 1856, and the railway connected the city to Miskolc in 1860. In 1873, there were already connections to Eperjes, Zsolna, and Csop (in today's Ukraine). The city gained a public transit system in 1891 when the track was laid down for a horse-drawn tramway. The traction was electrified in 1914. In 1906, Francis II Rákóczi's house of Rodostó was reproduced in Kassa, and his remains were buried in the St. Elisabeth Cathedral.