From the outset of the 19th century, Stuttgart's development was once again impeded by its location (population of the city at the time was around 50,000), but the city began to experience the beginning of economic revival with the opening of the Main Station in 1846. Prior to then, the signs of rebirth in Stuttgart were evidenced by the construction of such buildings of Rosenstein Castle in 1822–1830, the Wilhelmspalais 1834–1840, and the foundations of the Staatsgalerie in 1843, University of Stuttgart in 1829, the University of Music and Performing Arts later, in 1857. Stuttgart had a role to play during the revolution of 1848/1849 as well. When internal divisions of the Frankfurt Parliament began the demise of that congress, the majority of the Frankfurt Congress voted to move to Stuttgart to flee the reach of the Prussian and Austrian armies in Frankfurt and Mainz. Even though the Congress may have had contacts with revolutionaries in Baden and Württemberg, the Congress, not popular with the content citizens of Stuttgart, were driven out by the King's army.