Officially, Biel remained under the jurisdiction of the Bishop of Basel throughout the 11th to 18th centuries. However, the early history of the town is filled with conflict between the town council and the Bishop's representative. In 1252, the town council partly succeeded in becoming a free imperial city. In 1275 King of Germany Rudolph of Habsburg granted Biel a town charter. The town's legal position was strengthened in 1296 when Bishop Peter Reich von Reichenstein signed an agreement with the town. This original agreement was strengthened in 1352 and remained in force until 1798.