Charles Albert led his forces against the Imperial Austrian army in the First Italian War of Independence (1848–1849), but was abandoned by Pope Pius IX and Ferdinand II of the Two Sicilies and was defeated in 1849 at the Battle of Novara, after which he abdicated in favour of his son, Victor Emmanuel II. Charles Albert died in exile a few months later in the Portuguese city of Porto.