David made an oath that Solomon the son of Bathsheba would reign after him and sit on his throne in David's place.