Škofja Loka is a town in the north-west of Slovenia, in the region of Ljubljana. It has a population of over 22,000 and an area of 146 km².
The town’s history started in 973 when the German Emperor, Otto II, bestowed the territory of Loka upon the Bishop of Freising in Bavaria. “Loka” means meadow on the banks of the river. At the start of the fourteenth century, the town was protected by a wall with five gates, part of which is still intact.