The barricade of the border with the NDH was built in 1943 at the foot of the Gorjanci Hills based on existing routes and posts. It was made up of a zone of barbed wire, bunkers, stronger fortifications and border crossings. By building it, they wanted to prevent the passage of Partisans from the Žumberak Mountains and the Gorjanci Hills to the villages below them. It ran from the Krka River (northeast of Kostanjevica) and continued towards the southwest. Construction began in January 1943 at the village of Šmarje near Šentjernej and was stopped, unfinished, on 8 September 1943 at the village of Dolž, 26km long.