The pharaoh was the most powerful person in ancient Egypt, holding the dual titles of "Lord of the Two Lands" and "High Priest of Every Temple." As lord, the pharaoh owned all the land, made laws, collected taxes, and defended Egypt militarily. As high priest, the pharaoh performed religious rituals and oversaw temple construction to honor the gods. Pharaohs led Egypt for thousands of years and were considered semi-divine beings who would become gods after death.