During the entire 19th century Bulle was often in sharp opposition to the conservative cantonal government during the Restoration (1814–1830). They supported a liberal cantonal constitution during the Regeneration movement that prevailed in 1831. After 1840 the Conservatives gained back power in the cantonal government, which gave new impetus to the radical opposition, and Bulle was one of its most important centers. In January 1847 there was an open rebellion in Bulle. On 6 January 1847 the mayor was imprisoned in the castle. Three days later, on 9 January, an armed group marched from Bulle toward Fribourg, but returned to the town when they were only half way there. Following the Sonderbund War, ( brief civil war where a group of cantons unhappy with domination by Bern attempted to leave the Swiss Confederation and were stopped by a Federal army) the new Cantonal Constitution of 1848 made Bulle the capital of the Gruyère district. During the 1853 elections, which punished the radicals for their political excesses, the city was the scene of violence. Violent clashes in Bulle between radicals and conservatives lasted the entire 19th century. At the same time both parties were trying to distinguish themselves with ambitious projects. The radicals built a rail line between Bulle and Romont, established the Banque Populaire de la Gruyère in 1853, opened the radical "La Gruyère" newspaper in 1882, and in 1893 constructed their own electric company. The Conservatives opened the "Le Fribourgeois" paper in 1867, established the Crédit Gruyérien bank in 1867, and built the Chemins de fer de la Gruyère électriques in 1903–1912.