Answer
When Louis XVI, the father of Louis XVII, was executed in 1793, Louis automatically succeeded to the title of King of France. However, Louis XVII was only a child at the time, and so the country was ruled by a series of revolutionary governments. Louis XVII died in 1795, and his brother, Louis XVIII, succeeded to the throne.