The daughter of Eliam, Bathsheba, was married to Uriah the Hittite when King David, while while walking on the roof of his house, saw her taking a bath. He committed adultery with her and she became pregnant. Trying to conceal his sin, David set Uriah up to be killed and then married Bathsheba.