The original castle was severely damaged in 1439, during the fights between the Habsburgs and the Counts of Celje, and again by the Ottoman Turks in 1473.
Emperor Maximilian I sold it to the local nobleman Jurij von Egkh, who was the general administrator of Habsburg estates in Carniola, who owned several castles in the region, including Brdo pri Kranju.
[2][better source needed] Urbančič was the grandfather of the renowned Slovene poet Josipina Turnograjska, who was born in the castle in 1821.
After World War II, the Detela family's property was expropriated by the Communist regime.
The castle was first used as a military barracks for the Yugoslav People's Army and since 1962 it has housed a retirement home.