Saint-Imier () is a municipality in the Jura bernois administrative district in the canton of Bern in Switzerland. It is located in the French-speaking Bernese Jura (Jura Bernois). The Observatoire Astronomique de Mont-Soleil is located above the village. History Saint-Imier is first mentioned in 884 as cella de sancti Himerii. The municipality was formerly known by its German name St. Immer, however, that name is no longer used. Its name refers to Imerius of Immertal, a 7th-century saint. According to the legend of St. Imerius, he settled in the valley as a hermit in the late 6th or early 7th century on a piece of land that bishop Marius of Lausanne gave him as a present. In 884 a cella (probably a church, farm and monastery) was mentioned on the site. Archeological excavations around the former Church of St. Martin indicate that a village grew up around the cella around the same time. Two of the 142 graves from the church have been dated to the Early Middle Ages and the church was rebuilt at least three times before the 14th or early 15th century. In 884 the cella with its outbuildings belonged to Moutier-Grandval Abbey. In 999, the Abbey donated Saint-Imier and a number of surrounding villages to the Prince-Bishop of Basel. In 1264, the Bishop appointed Otto of Arguel (or Erguel) as the vogt over the Saint-Imier valley fief. Otto raised the valley to become a seigniory and parish of the Diocese of Basel. By the end of the 15th century, Saint-Imier included the villages of Villeret, Sonvilier, Renan and La Ferriere. Even though the physical valley was owned by the Bishop of Basel, religiously it was part of the Diocese of Lausanne. The Saint-Imier parish was probably founded in the 9th or 10th century. A village chapel was first mentioned in 968, with the parish church of St. Martin first appearing in the records in 1228. The church of St. Martin was later rebuilt in the gothic style. Another church, the collegiate church was built in the 11th century, probably under the direction of the Bishop of Basel. In 1530, Biel encouraged Saint-Imier to embrace the Protestant Reformation and convert to the new religion. The collegiate church before the parish church for the new Reformed parish. Over the following centuries, the Church of St. Martin was used less and less until it was demolished in 1828. In