 It lies in the Sofia Valley, with the slopes of the Balkan Mountains to the north and Sredna Gora to the south-southeast, 24 km southeast of the capital city of Sofia.The number of Thracian, Roman and Byzantine artifacts and ruins in the area proves that the surroundings of Elin Pelin have been inhabited since antiquity.A Slavic settlement was founded in the Middle Ages and existed until the early Ottoman rule of Bulgaria.