Counts of Celje
The Counts of Celje (Slovene: Celjski grofje) or the Counts of Cilli (German: Grafen von Cilli; Hungarian: cillei grófok) were the most influential late medieval noble dynasty on the territory of present-day Slovenia. Risen as vassals of the Habsburg dukes of Styria, they ruled the County of Cilli as immediate counts (Reichsgrafen) from 1341 and rose to Princes of the Holy Roman Empire in 1436. However, the line became extinct when the last count Ulrich II of Celje was killed in 1456.
The Lords of Sanneck (Žovnek) Castle on the Sann (Savinja) river in Lower Styria were first mentioned around 1123/30. Their ancestors may have been relatives of Saint Hemma of Gurk (d. 1045), who held large estates in the area. The fortress was allegedly already built under the rule of Charlemagne as a stronghold against the Avars.
One Leopold of Sanneck appeared as a supporter of the Habsburg king Rudolf I of Germany in the 1278 Battle on the Marchfeld. In the early 14th century, the Lords of Sanneck allied with the Austrian Habsburgs in their conflict against Duke Henry VI of Carinthia around the Kingdom of Bohemia, making them Habsburg vassals in 1308. Leopold's brother Frederick by marriage inherited the large possessions of the late Counts of Heunburg in 1322; the Celje estates itself became a property of the dynasty in 1333, not before years of feud against Count Ulrich V of Pfannberg and several other rivalling noble dynasties. Frederick finally prevailed with the support of Otto the Merry, the Habsburg duke of Styria. He became governor of Carniola and the Windic March in 1332 and was elevated to comital status by Emperor Louis IV in 1341 at Munich, receiving the title Cylie or Cilli derived from Celje Castle.
In a short period of time the Counts of Celje owned more than 20 castles all over the territory of modern Slovenia and beyond through the marriages of their daughters. With their acquiring large estates in the adjoining duchies of Styria and Carinthia, in the March of Carniola as well as in the territories of the Hungarian Crown (including Croatia and Slavonia) their influence rose and they became one of the most powerful families in the area. Count Ulrich I of Cilli, a leader of mercenary soldiers, joined King Louis I of Hungary on his 1354 campaign into Dalmatia and, shortly afterwards, the Rex Romanorum Charles IV to his coronation at Rome. His son William married Anna of Poland, daughter of the Polish king Casimir III the Great. The Counts of Cilli were related by marriage with rulers of Bosnia and Polish and Hungarian kings. Also through the Barbara of Cilli the Counts were in kinship with kings of Bohemia.
Their rapid rise continued after the 1396 Battle of Nicopolis against the Ottoman Empire, where Count Hermann II of Cilli saved the life of King Sigismund of Hungary, the son of late Emperor Charles IV. As a reward the king donated (1397–99) the city of Varaždin, the county of Zagorje, and many estates in Croatia to the family. In 1401 the Counts of Cilli were among Sigismund's supporters against the relucting Hungarian magnates. Their alliance with the Imperial House of Luxembourg became even closer through the marriage of Hermann's daughter Barbara of Cilli to the king in 1405. In 1418 Count Hermann II inherited the Carinthian and Carniolan estates of the extinct Counts of Ortenburg.
In 1410 Sigismund had been elected King of the Romans and was crowned Holy Roman Emperor in 1433. In 1436 he elevated the Counts of Cilli to the rank of Princes of the Holy Roman Empire (although they retained their title of Graf (Slovene: grof)). The Habsburgs, whose strongest rivals they had become, reacted with a war that lasted until 1443, when an agreement of mutual inheritance was signed.
Count Ulrich II of Cilli was the most powerful member of the Cilli family. In 1432 he married Catherine, daughter of the Serbian despot Đurađ Branković. Ulrich held a large influence in many courts, which originated from the relationships the Cilli family had made in the past. Upon the death of the Habsburg king Albert II in 1439, he tried to get regency of Hungary, Bohemia and Austria through control over Albert's minor son Ladislaus the Posthumous. With such ambitions he got many opponents and rivals, such as the Hungarian Hunyadi family. After an unsuccessful claim to the Bosnian crown, Cilli obtained some territories in Croatia and Slavonia and in 1452 finally succeeded in forcing Emperor Frederick III to hand over the boy king Ladislaus to his keeping. Thus, Ulrich II became de facto regent of Hungary.
In 1456 after the death of his rival John Hunyadi, Ulrich II succeeded him as Captain General of Hungary. That initiated a plot by the Hunyadi family against Ulrich II, and he was assassinated by the men of John Hunyadi's son Ladislaus on 8 November in Belgrade.
With the death of Ulrich II the male line of the Counts of Cilli died out, and after a war of succession all of their estates and property were handed over to the Habsburgs on the basis of the inheritance agreement.
Part of their coat of arms - the three golden stars on a blue background, which, as Lords of Sanneck, they had inherited from the once powerful Carinthian Counts of Heunburg in 1322 - was incorporated into the Emblem of Yugoslavia in 1920s and the Slovenian coat of arms in 1991. It is also the current coat of arms of Celje.
Lords of Sanneck or Barons of Soune, Counts of Cilli
The Lords of Sanneck (Žovnek) or Barons of Soune 
- Gebhard (c. 1130–1144)
- Gebhard II (1173–1227)
- Conrad I († ca. 1255)
- Ulrich I of Sanneck († ca. 1265)
- Ulrich II of Sanneck († ca. 1316), married Countess Catherine of Heunburg
- Frederick I (c.1300-1359/60), son, from 1341 Count of Celje
Counts of Cilli (Celje)
- Ulrich I (1331–1368), son of Frederick I, Captain in Carniola, married Countess Adelheid of Ortenburg
- Herman I (1332/34-1385), son of Frederick I, married Katarina Kotromanić, daughter of Ban Stephen II of Bosnia
- William (1361/62-1392), son of Ulrich I, married Anna of Poland, daughter of King Casimir III the Great of Poland
- Herman II (c.1365-1435), son of Hermann I, Ban of Croatia and Dalmatia
Kantakuzina Katarina Branković (1456-1458), widow of Ulrich, in 1458 the county is annexed to Austria.
|Wikimedia Commons has media related to Counts of Celje.|