 Among the Medici legacies to the town is the construction of Chiesa "Matrice" di San Marco in 1657, whose tower is one of the dominant architectural features of Castel del Monte; the painting of St. John the Baptist in the church of Madonna del Suffragio by Bernardino di Lorenzo di Monaldo (circa 1585) commissioned by Francesco de' Medici himself; and the diminutive Chiesa di San Rocco (1656).The town's massive defensive walls, largely formed by "wall houses", and its great gates, were also completed under this period of Medici rule.In 1743, the baronage passed to Charles of Bourbon, then king of Naples and Sicily (later King Charles III of Spain).