Büren Castle was built in 1621-24 as the residence of the Bernese Landvogt over the area. It was built on the site of four farm houses. Between 1624 and the 1798 French invasion a total of 77 Landvogts lived in the castle. Some of the bullet scars from the troops that invaded in 1798 are still visible on the castle walls. Today the castle is home to the municipal administration and government offices. In 2003 the 17th century murals and other art were restored to their original appearance.
References:Herceg Novi was founded (on a former small fishing village, existing since Roman Empire times) as a fortress in 1382 by first Bosnian King Stjepan Tvrtko I and was called Sveti Stefan or Castelnuovo. The Turks conquered Herceg Novi in 1482, and ruled for 200 years, until 1687. However, there was a short pause between 1538 and 1539 when it was held by the Spaniards before they were defeated in the Siege of Castelnuovo. Turkey ruled again until 1687, from then until 1797, the town was ruled by the Venetian Republic.
The Herceg Novi old town is amazing. It is on a fairly steep hill that leads all the way down to the sea. Wandering through the small stairways to the various plazas and fortresses is a many hour adventure.