in the swedish-brandenburg war from 1675 to 1676 the town was captured during a military campaign by an alliance of denmark and several states of the holy roman empire, and it remained in allied hands until the end of the war in 1679.