Respuesta :

Hatshepsut is the answer you are looking for.
That would be Hatshepsut, of course, she wasn't recognized as a pharaoh, but she had to rule over Eygpt secretly since her son was not old enough to rule and her husband passed away. Since women at the time were considered property and less capable and intelligent compared to men.