Original: It was the eponymous capital of Waset, the fourth Upper Egyptian nome.
Simplified: It was the capital of Waset, the fourth Upper Egyptian nome.