<Tr> <Th> Reference no . </Th> <Td> 87 </Td> </Tr> <Tr> <Th> Region </Th> <Td> Arab States </Td> </Tr> <P> Thebes (Ancient Greek: Θῆβαι, Thēbai), known to the ancient Egyptians as Waset, was an ancient Egyptian city located east of the Nile about 800 kilometers (500 mi) south of the Mediterranean . Its ruins lie within the modern Egyptian city of Luxor . Thebes was the main city of the fourth Upper Egyptian nome (Sceptre nome) and was the capital of Egypt during the New Kingdom . It was close to Nubia and the eastern desert, with its valuable mineral resources and trade routes . It was a cult center and the wealthiest city of ancient Egypt at its heyday . The site of Thebes includes areas on both the eastern bank of the Nile, where the temples of Karnak and Luxor stand and the city proper was situated; and the western bank, where a necropolis of large private and royal cemeteries and funerary complexes can be found . </P> <Table> <Tr> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th> wꜣs. t City of the Scepter in hieroglyphs </Th> </Tr> </Table> </Td> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th> wꜣs. t in hieroglyphs </Th> </Tr> </Table> </Td> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th> niw. t rs. t Southern City in hieroglyphs </Th> </Tr> </Table> </Td> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th> iwnw - sm' Heliopolis of the South in hieroglyphs </Th> </Tr> </Table> </Td> </Tr> </Table>

When did thebes become the capital of egypt
find me the text answering this question