The concealed mass graves in Škofja Loka were created in the immediate aftermath of the Second World War, after British forces forcibly repatriated Home Guard soldiers that had fled to Austria to Yugoslavia from camps in Bleiburg, Lavamund, Rosenbach, Viktring (a district of Klagenfurt), and elsewhere. They are part of the mass graves associated with the nearby former Loka Castle prison, where Home Guard members and civilians that did not flee to Austria were also killed en masse. The Skofja Loka prison has been characterized as an extermination camp that was also used for torture.