During the Renaissance, the region was fought over by rival aristocratic families, such as the Malatesta of Rimini, Pesaro, Fano and the house of Montefeltro of Urbino. The last independent entity, the Duchy of Urbino, was dissolved in 1631, and from then on, Marche was firmly part of the Papal States except during the Napoleonic period. This saw the short lived Republic of Ancona, in 1797–98; the merging of the region with the Roman Republic in 1798–99, and with the Kingdom of Italy from 1808 to 1813; and the short occupation by Joachim Murat in 1815. After Napoleon's defeat, Marche returned to Papal rule until 4 November 1860, when it was annexed to the unified Kingdom of Italy by a plebiscite.