Today, the fortress has been replaced by a noble villa that joins up with the original thirteenth-century tower, the walls of which have been built on the original foundations, and with the imposing entrance arch overlooking the stone bridge, which has replaced the drawbridge for centuries. The first documents citing the castle date back to 1258 and concern the return of the castrum et villam inferiorem de Flambro to the patriarch of Aquileia, Gregorio di Montelongo, who had granted jurisdiction over the entire fiefdom to the brothers Corrado and Rodolfo Savorgnan. Between 1300 and 1400, the expansion of Venice undermined the power of the Patriarchate of Aquileia, which decided to transfer ownership of the fiefdom to Count Palatine Leonardo of Gorizia, who, in 1466 in turn transferred jurisdiction to the Count of Codroipo.
The brief period of tranquillity that followed is a prelude to the Turkish incursions that, between 1472 and 1500, devastate Friuli. Among the over ten thousand victims, not to mention the prisoners they kidnapped and enslaved, the entire Codroipo family perished, except for one who miraculously escaped the massacre. The jurisdiction returned to the owner, the Count of Gorizia, who had no heirs. Towards the end of the 1400s, the property was inherited by Maximilian of Habsburg, thus taking the territory away from Venice. The year 1508 saw conflicts between the Austrians and the Venetians and the conflict that ended the expansionist hopes of Venice, the Serenissima Republic.