1 Chronicles 3:4-9
4-9He had these six sons while he was in Hebron; he was king there for seven years and six months.
He went on to be king in Jerusalem for another thirty-three years. These are the sons he had in Jerusalem: first Shammua, then Shobab, Nathan, and Solomon. Bathsheba daughter of Ammiel was the mother of these four. And then there were another nine sons: Ibhar, Elishua, Eliphelet, Nogah, Nepheg, Japhia, Elishama, Eliada, Eliphelet—David's sons, plus Tamar their sister. There were other sons by his concubines.
10-14In the next generation Solomon had Rehoboam, who had Abijah, who had Asa, who had Jehoshaphat, who had Jehoram, who had Ahaziah, who had Joash, who had Amaziah, who had Azariah, who had Jotham, who had Ahaz, who had Hezekiah, who had Manasseh, who had Amon, who had Josiah.