David’s army was fighting against another group of people when he found a woman bathing on a roof named Bathsheba and slept with them. He had a child with Bathsheba, which led to David having Urriah called back from the war and tried to have Urriah sleep with his wife to cover up for his mistake, but Urriah would not go to his wife, so David had him killed in battle and married Bathsheba. Nathan, a prophet, told David a story about a rich man who took a poor man’s sheep and had it killed, which angered David. Nathan told David that the rich man in the story was him and David repented for what he had done. The child David had with Bathsheba died, but Bathsheba had another child who was named Solomon and would later become the third king of the unified Israel before it split into two separate groups or kingdoms.