The Bourbons of Naples were generally despised and ridiculed as incompetent. There was discussion at the Congress of Vienna of allowing Joachim Murat to keep the throne but when he threw in his lot with Napoleon during the Hundred Days, he was captured and shot. After the collapse of Napoleon, king Ferdinand was restored in 1815. The Bourbons would rule until 1860.