Sadoc » An ancestor of joseph
Azor was the father of Zadok, Zadok the father of Achim, and Achim the father of Eliud.
Solomon » An ancestor of joseph
Jesse was the father of David the king.David was the father of Solomon by Bathsheba who had been the wife of Uriah.