Answer
Charles X, the former king of France, spent his final days in exile in Gorizia, a city that was then part of the Austrian Empire. After being overthrown during the July Revolution in 1830, Charles sought refuge in Great Britain before settling in Gorizia in 1836.