From a lover of royalty to a French Revolution prisoner