When King Azariah had been ruling Judah for almost thirty-nine years, Menahem, the son of Gadi, became the king of Israel. He ruled in Samaria for ten years.