Answer
After the death of Louis XVI's eldest son, Louis Joseph, Louis XVII became the Dauphin of France, which was the traditional title of the eldest son of the King of France. However, Louis XVII never actually ruled France, as he was imprisoned in the Temple Prison during the French Revolution and died there in 1795.