It is thought that the Trsat castle lies at the exact spot of an ancient Illyrian and Roman fortress. It was owned by Frankopan family who built the present castle in the 13th century.
The capture of the Castle of Trsat compelled the Ban of Croatia, Andrew Bot of Bajna (Bajna is a village in Hungary, near Esztergom), to intervene in the Austro-Venetian war, and in June 1509 he first recaptured Trsat with his Croatian army and then entered Rijeka after expelling the Venetians. In October 1509, the Venetians withdrew for good and Rijeka returned to the possessions of Maximilian of Habsburg. This notable episode is the sole event which links Rijeka with Venice, and consequently with Italy, during the whole of its history from the 7th century on.
In the 17th century the castle fell into decay due to the receding threats from Venice and the Ottoman Empire. Its decline was accelerated by the earthquake of 1750. In the year 1811, during the Napoleonic wars, Captain Hoste in pursuit of the French, arrived with his frigate at Fiume where he made himself lieutenant-governor. The situation in Trieste soon drew him away, but in 1826 he had the satisfaction of handing the castle over to Field-Marshal Nugent, an Irishman then commanding the Austrian troops in the vicinity, for the purpose of conferring on him the rank of an Austrian noble. The general was later honoured by the Austrians and presented with the castle at Trsat as his residence. He had it restored in Neo-Gothic style and built a mausoleum adorned with the coat of arms of the Nugent family. It remained in the Nugent family until nearly the end of the Second World War when the general's great-granddaughter, Countess Nugent, died at the age of 82.
Today the castle has now been turned into a restaurant and many tourists visit the place during the summer months.
References:The Château de Foix dominates the town of Foix. An important tourist site, it is known as a centre of the Cathars. Built on an older 7th-century fortification, the castle is known from 987. In 1002, it was mentioned in the will of Roger I, Count of Carcassonne, who bequeathed the fortress to his youngest child, Bernard. In effect, the family ruling over the region were installed here which allowed them to control access to the upper Ariège valley and to keep surveillance from this strategic point over the lower land, protected behind impregnable walls.
In 1034, the castle became capital of the County of Foix and played a decisive role in medieval military history. During the two following centuries, the castle was home to Counts with shining personalities who became the soul of the Occitan resistance during the crusade against the Albigensians.