When Pekah had been ruling Israel for almost 17 years, Ahaz, the son of Jotham, became the king of Judah.