The Gera line of Reussians died out in 1802, so that it had no royal residence until the new one moved there from Schleiz in 1848. From 1848 to 1918 Gera served as the capital of the Principality of Reuss-Gera. With the industrial revolution in the mid-19th century, Gera grew rapidly, due largely to its textile industry, which saw the first Power loom installed in 1836. In 1859, Gera was first connected by railway to Halle via Zeitz and Weißenfels. During the following decades, rail lines in all directions made Gera to a transport hub, and the town kept growing. The second electric tram in Germany was installed in Gera in 1892.