Input (grade 6): It was the eponymous capital of Waset, the fourth Upper Egyptian nome.
Output (grade 5): It was the capital of Waset, the fourth Upper Egyptian nome.