Hatshepsut ruled for over 20 years during the 18th dynasty. She was a successful military leader, promoted trade and architecture, with large scale construction taking place during her reign. Due to the tender age that Thutmose II came to the throne, Hatshepsut served as queen regent, and eventually, against custom, declared herself pharaoh. She dressed in male clothing and used propaganda to legitimize her rule. Her legacy was largely erased by her successor, Thutmose III.