sentences:  Remains of the old castle moat are still visible, as well as the massive entrance and most of the walls.The castle was built on a hill above the crossroads of then important routes in the northwestern corner of the Sava valley, above the medieval market town of Samobor.The castle was erected by the supporters of Czech king, Ottokar II of Bohemia, between 1260 and 1264, who was then in a war with Hungarian king Stephen V. Croatian-Hungarian forces under command of duke of Okić soon retook the castle, for which he was granted the city of Samobor, as well as the privilege to collect local taxes.