Dido that Iarbas had specifically requested Dido as wife. Dido was trapped by her words. Still, she preferred to stay faithful to her first husband and after creating a ceremonial funeral pyre and sacrificing many victims to his spirit in pretense that this was a final honoring of her first husband in preparation for marriage to Iarbas, Dido ascended the pyre, announced that she would go to her husband as they desired, and then slew herself with her sword. After this self-sacrifice Dido was deified and was worshipped as long as Carthage endured. In this account, the foundation of Carthage occurred
Dido young women who were prostituting themselves on the shore in order to provide wives for the men in the party. Eventually Dido and her followers arrived on the coast of North Africa where Dido asked the Berber king Iarbas for a small bit of land for a temporary refuge until she could continue her journeying, only as much land as could be encompassed by an oxhide. They agreed. Dido cut the oxhide into fine strips so that she had enough to encircle an entire nearby hill, which was therefore afterwards named "Byrsa" "hide". (This event is commemorated in modern mathematics: