Before Queen Hatshepsut, Queen Sobeknefru is the first female pharaoh or ruler in Egypt.
After King Amenhotep I his illegitimate son succeeded him and reign as Thutmose I, then Thutmose II succeeded him. Then, Queen Hatshepsut is the one who succeeded him.