Matthew 1:5-15

5 Salmon was the father of Boaz. (Boaz's mother was Rahab.) Boaz was the father of Obed. (Obed's mother was Ruth.) Obed was the father of Jesse.
6 Jesse was the father of King David. David was the father of Solomon. (Solomon's mother had been Uriah's wife.)
7 Solomon was the father of Rehoboam. Rehoboam was the father of Abijah. Abijah was the father of Asa.
8 Asa was the father of Jehoshaphat. Jehoshaphat was the father of Jehoram. Jehoram was the ancestor of Uzziah.
9 Uzziah was the father of Jotham. Jotham was the father of Ahaz. Ahaz was the father of Hezekiah.
10 Hezekiah was the father of Manasseh. Manasseh was the father of Amon. Amon was the father of Josiah.
11 Josiah was the grandfather of Jehoiachin and his brothers. (This was at the time that the people were taken to Babylon.)
12 After they were taken to Babylon: Jehoiachin was the father of Shealtiel. Shealtiel was the grandfather of Zerubbabel.
13 Zerubbabel was the father of Abiud. Abiud was the father of Eliakim. Eliakim was the father of Azor.
14 Azor was the father of Zadok. Zadok was the father of Akim. Akim was the father of Eliud.
15 Eliud was the father of Eleazar. Eleazar was the father of Matthan. Matthan was the father of Jacob.