 The perimeter of the city thus gradually extended into a vast urban sprawl.Its centre remained around the temple complex of Ptah.At the beginning of the Middle Kingdom, the capital and court of the pharaoh had moved to Thebes in the south, leaving Memphis for a time in the shade.