 Pandolfo IV, his son (1500), lost Rimini to Cesare Borgia, after whose overthrow it fell to Venice (1503–1509), but it was later retaken by Pope Julius II and incorporated into the Papal States.After the death of Pope Leo X, Pandolfo returned for several months, and with his son Sigismondo Malatesta held a rule which looked tyrannous even for the time.Pope Adrian VI expelled him again and gave Rimini to the Duke of Urbino, the pope's vicar in Romagna.