Thebes was the capital of Egypt for long periods during the Middle Kingdom and New Kingdom eras, and its ruins are located 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 for long periods during the Middle Kingdom and New Kingdom eras.