After the collapse of the French Empire, Biel sent Georg Friedrich Heilmann to the Congress of Vienna in 1814 to push for the creation of an independent Canton of Biel. However, he was unsuccessful and the Congress granted most of the territory of the Bishopric to the canton of Bern. Biel was able to resist unification until Bern agreed to retain some of Biel's historic privileges and rights. In 1815 Biel finally joined the Canton of Bern as part of the Oberamt of Nidau. The city council of Biel struggled to make it the capital of its own district. Finally in 1832 the Biel Amtsbezirk was created and Biel became the district capital. The democratic reforms of the Regeneration era helped the citizens of Biel to identify with and feel a part of the Canton of Bern.