{{redirect|Vranja peč|the settlement in northern Slovenia|Vranja Peč}} thumb|Remnant of the castle wall thumb|Remnant of a tower foundation '''Koprivnik Castle''' ({{langx|sl|Grad Koprivnik}}, {{lang|sl|Vranja peč}}, {{langx|de|Burg Rabensberg}})<ref name="Savnik">{{cite book |last1=Savnik |first1=Roman |title=Krajevni leksikon Slovenije, vol. 2 |date=1971 |publisher=Državna založba Slovenije |location=Ljubljana |page=108}}</ref> is a castle ruin above the village of Sveta Trojica, near Moravče in central Slovenia.

== History ==

The castle was probably built in the 12th century, in order to protect the trade route from the Moravče Valley to the Lower Sava Valley. Its first recorded owner was Ulschalcus von Rabensberg, of the knights of Rabensberg ({{langx|sl|Koprivniški}}), first mentioned in 1214. The castle was abandoned in the 13th century, when the owners relocated to Krumperk Castle, and it was in ruins by the 17th century.<ref name="Savnik"/> The estate was inherited by the Hohenwarths, followed by the sisters of St. Clare from Mekinje. In the second half of the 19th century, the castle became known as Old Castle ({{langx|sl|Stari grad}}) or Freight Castle ({{lang|sl|Tovorov grad}}), named after the nearby freight route from the Central Sava Valley.<ref name="Savnik"/> In 1930, the land surrounding the ruins was purchased by Senator {{interlanguage link|Valentin Rožič|sl}}.<ref name="Savnik"/> Remains visible today include the foundations of a defensive tower and some walls; most of the rest of the structure is covered by detritus. Much of the worked stone was recycled for the construction of nearby Holy Trinity Church.

==Sources== * http://www.gradovi.jesenice.net/koprivnik.html {{Webarchive|url=https://web.archive.org/web/20120218133039/http://www.gradovi.jesenice.net/koprivnik.html |date=2012-02-18 }} {{in lang|sl}} * Castles, Mansions and Manors in Slovenia (Didakta, January 1995, {{ISBN|86-7707-084-2}}) by Ivan Jakič (Gradovi, dvorci in graščine na Slovenskem), {{in lang|sl}}

==References== {{Reflist}}

==External links== *{{commons category-inline|Koprivnik Castle}}

{{coord|46|7|4.41|N|14|40|59.43|E|type:landmark_region:SI_dim:270|display=title}} {{Castles in Slovenia}} Category:Castles in Upper Carniola Category:Ruined castles in Slovenia