Grafen von Cilli
After the Counts of Celje died out in 1456, the region was inherited by the Habsburgs of Austria and administered by the Duchy of Styria. The city walls and defensive moat were built in 1473. The town defended itself against Turks and in 1515 during great Slovene peasant revolt against peasants, who had taken Old Castle.