 In the early 14th century the family moved from Umbria to Bologna, where they gradually increased their wealth and influence.In 1572 Ugo Boncompagni, a professor of law in the University of Bologna and a Catholic cardinal, became pope as Gregory XIII.For his son Giacomo Boncompagni, he acquired from Francesco Maria II della Rovere the Duchy of Sora, which thenceforth became a family possession.