Task: Question Answering
Input (English): Passage: With greater power and wealth during the New Kingdom (c. 1550–1070 BC), Egypt devoted still more resources to its temples, which grew larger and more elaborate. Higher-ranking priestly roles became permanent rather than rotating positions, and they controlled a large portion of Egypt's wealth. Anthony Spalinger suggests that, as the influence of temples expanded, religious celebrations that had once been fully public were absorbed into the temples' increasingly important festival rituals. The most important god of the time was Amun, whose main cult center, the Precinct of Amun-Re at Karnak in Thebes, eventually became the largest of all temples, and whose high priests may have wielded considerable political influence.Many temples were now built entirely of stone, and their general plan became fixed, with the sanctuary, halls, courtyards, and pylon gateways oriented along the path used for festival processions. New Kingdom pharaohs ceased using pyramids as funerary monuments and placed their tombs a great distance from their mortuary temples. Without pyramids to build around, mortuary temples began using the same plan as those dedicated to the gods.In the middle of the New Kingdom, Pharaoh Akhenaten promoted the god Aten over all others and eventually abolished the official worship of most other gods. Traditional temples were neglected while new Aten temples, differing sharply in design and construction, were erected. But Akhenaten's revolution was reversed soon after his death, with the traditional cults reinstated and the new temples dismantled. Subsequent pharaohs dedicated still more resources to the temples, particularly Ramesses II, the most prolific monument-builder in Egyptian history. As the wealth of the priesthoods continued to grow, so did their religious influence: temple oracles, controlled by the priests, were an increasingly popular method of making decisions. Pharaonic power waned, and in the eleventh century BC a military leader, Herihor, made himself High Priest of Amun and the de facto ruler of Upper Egypt, beginning the political fragmentation of the Third Intermediate Period (c. 1070–664 BC).As the New Kingdom crumbled, the building of mortuary temples ceased and was never revived. Some rulers of the Third Intermediate Period, such as those at Tanis, were buried within the enclosures of divine temples, thus continuing the close link between temple and tomb. 
Question: What controlled a large portion of Egypt's wealth?
Output (English): Higher-ranking priestly roles.