Input (grade 10): The dynasty that he established would rule Egypt and Sudan until the Egyptian Revolution of 1952.
Output (grade 7): The dynasty that he established would rule Egypt until a revolution in 1952.