Input (grade 6): The monarchy ruled France until the French Revolution, in 1789.
Output (grade 6): France had a monarchy until the French Revolution in 1789.