Bathsheba, the beautiful wife of Uriah, was taking a bath, when King David saw her and fell in love. He organized Uriah to be killed and married Bathsheba. Their first son died, that was God's punishment, but their second son, Solomon, became the most famous King of Jews after David's death.
According to the Hebrew Bible, Bathsheba was "a daughter of "Eliam", one of David's "thirty" (2 Sam. 23:34; cf 1 Chr. 3:5); Eliam was also the son of Ahitophel, one of David's chief advisors. Ahitophel was from Giloh (Josh. 15:51;cf 2 Sam. 15:12), a city of Judah, and thus Bathsheba was from David's own tribe and the granddaughter of one of David's closest advisors (2 Sam.15:12)."