Answer
His uncle Louis XVIII declared Louis XVII as King of France after the Bourbon Restoration in 1814. Louis XVII was the eldest son of King Louis XVI and Marie Antoinette, but he died in prison in 1795. Louis XVIII was the next in line to the throne, but he had been exiled during the French Revolution.