As the first miners' quarters were built on the terraces of the Struma River, the beginning of the miners' settlement of Pernik was set, one kilometre ( 1.0 kilometers ) to the east of the village of the same name.