Ahaziah became king of Israel in Samaria. It was in the 17th year that Jehoshaphat was king of Judah. Ahaziah ruled over Israel for two years. He was the son of Ahab.