The Kingdom of Naples (; ; ) was a French client state in southern Italy created in 1806 when the Bourbon Ferdinand IV &amp; VII of Naples and Sicily sided with the Third Coalition against Napoleon and was in return ousted from his kingdom by a French invasion. Joseph Bonaparte, elder brother of Napoleon I, was installed in his stead: Joseph conferred the title "Prince of Naples" to be hereditary on his children and grandchildren. When Joseph became King of Spain in 1808, Napoleon appointed his brother-in-law Joachim Murat to take his place. Murat was later deposed by the Congress of Vienna in 1815 after striking at Austria in the Neapolitan War, in which he was decisively defeated at the Battle of Tolentino.