Delyan () is a village in the Sofia Province, western Bulgaria, near the town of Breznik. The old historic name of the village is Karnul (). As of 2007, the village has only 18 permanent inhabitants. Delyan is located in the municipality of Bozhurishte, 34 km west of Sofia on the eastern slopes of Viskyar Mountain with an average altitude of 790 meters. Its houses are nestled in a valley between three small peaks of Viskyar. It is named after the leader of the Bulgarian uprising against the Byzantine Empire (1040-1041) and for a short time Tsar (Emperor) of Bulgaria, Peter II Delyan. Administratively, the village is connected to the nearby village Zlatusha to which there is a tarmac road, built in early 1970s. It is close to the railroad Pernik-Voluyak, on the border between Sofia Province and Pernik Province, and nearby Dogandjia (Falconer), a remote neighborhood of Goz is in the Breznik Municipality. The village consists of 3 neighborhoods (mahali): Matsina and Rebrachka Mahala to the north of center, and Vanchina Mahala to the south of center. The church of St Mary, funded and built by local people on a hill near Delyan, was opened in the spring of 2008. To the south-west of Delyan, in the locality Ormana, there is a pine forest, planted in the 1970s. During favorable seasons, one can find there edible mushrooms, like saffron milk cap (Lactarius deliciosus) and sticky bun (Suillus luteus). Delyan is the birthplace of the writer Spas Antonov. History The village exists in today's place from time immemorial. Artefacts, such as old coins and relics of pottery are found when laying the foundations of newly built houses. Many residents of the village joined the rebel forces of Peter II Delyan in the spring of 1040, when the village numbered more than 200 houses. Many of them died in the fighting near Skopje and Thessaloniki. After the betrayal of Peter Delyan's cousin Alusiyan, rebel forces were defeated. At the pressure of the Byzantine Army, most of the remaining men in the village went to help the boyar Botko who defended Sredets (Sofia) from his fortress above the village of Boyana. The fall of Boyana fortress at the end of 1041 marked the complete suppression of the uprising. Shortly thereafter, in honor of Peter Delyan, in the countryside near the river, a monastery was built and named after Peter Delyan – Petrovo