In , the birth of Ishmael was planned by the Patriarch Abraham's first wife, who at that time was known as Sarai. She and her husband Abram (Abraham) sought a way to have children in order to fulfill the Abrahamic covenant that was established in . Sarai was 75 years old and had yet to bear a child. She had the idea to offer her Egyptian handmaiden Hagar to her husband so that they could have a child by her. Abraham took Hagar as his wife and conceived a child with her.