Born at the Royal Palace of Turin, he was the second son of King Victor Amadeus III of Sardinia and Maria Antonia of Spain. From birth he was known as the Duke of Aosta. His older brother Charles Emmanuel IV abdicated in 1802 and Victor Emmanuel succeeded him. He ruled Sardinia from Cagliari for the next twelve years as the mainland Kingdom of Sardinia had been captured by the French. 