W hen David was an old man, he made his son Solomon king of Israel.
So when David was old and full of days, he made Solomon his son king over Israel.