 In the 17th century the Emperor bought it and turned it into a fortress, and later it was further expanded by the Ungaro.The church was built in the 10th century in an eclectic style, with both Gothic and Romanesque features.The countryside around is home to numerous prehistoric trulli.