Azor was the father of Zadok. Zadok was the father of Akim. Akim was the father of Eliud.
Zerubbabel was the father of Abiud. Abiud was the father of Eliakim. Eliakim was the father of Azor.
Eliud was the father of Eleazar. Eleazar was the father of Matthan. Matthan was the father of Jacob.