Complex sentence: Afther the counts of Gorizia died out in 1500, the castle passed to the Habsburgs; in 1528 both it and the surrounding lands came into the hands of the house of Lanthieri, who added a residential palacio in 1649.
Split into simpler sentences: Afther the Counts of Gorizia died out in 1500, the castle passed to the Habsburgs. In 1528 both it and the surrounding lands was aquired by the noble house of Lanthieri, who added a residential palacio in 1649.