He was crowned the new pharaoh of Egypt at a young age.