When Abraham (then called Abram) was married to Sarai for ten years without having any children, Sarai told Abram to marry her Egyptian servant Hagar and he did. After getting pregnant, Hagar became arrogant so Sarai treated her badly and she ran away. Then an Angel convinced Hagar to go back and said her son would be called Ishmael. Hagar gave birth to a son and Abram named him Ishmael. 