During the rule of the Bohemian king and Holy Roman Emperor Charles IV, Archbishop Arnošt of Pardubice, owner of the church estate, had the old wooden fort replaced by a small stone castle which later became the core of the present mansion where there is now a ceremonial hall and gallery. Between 1849 and 1945 it served as a training school for miners, then a mining academy and later a College of Mining. During the first great boom in mining, Emperor Rudolfp II raised Příbram in 1579 to a free royal mining town.