Kyustendil is a town in the far west of Bulgaria, the capital of Kyustendil Province. Kyustendil is situated in the southern part of the Kyustendil Valley, 90 km southwest of Sofia. It was named after the medieval lord of the surrounding region, Constantine Dragaš. Kyustendil is a national balneological resort at an altitude of 500 metres. The ancient name of the town, Pautalia (a town of springs) is Thracian.