By the 17th century a series of Bernese patrician families owned Rümligen. After passing through a couple of owners, in 1634 Johann Rudolf von Erlach bought the castle and estates. His grandson sold it in 1680 to Ferdinand von Wattenwyl. They sold the castle to Samuel Frisching who passed it on to his son Samuel Frisching (II) when he died in 1683. In 1709 Samuel Frisching (II) built a new Baroque castle around the medieval core. Frisching had a distinguished career. In 1712 as the head of the Bernese War Council he commanded the Protestant Bernese troops to victory in the Toggenburg War. In 1715 he was elected Schultheiss of Bern, an office he held until his death on 23 October 1723.