The war was triggered by a pro-Napoleon uprising in Naples, and ended with a decisive Austrian victory at the Battle of Tolentino after which Bourbon monarch Ferdinand IV was reinstated as King of Naples and Sicily.