What was a Vizier in Egypt?

In Ancient Egypt, the highest official to serve the pharaoh or king was the vizier. The vizier was appointed by the pharaoh, and was sometimes a member of the pharaoh's own family.