He then went in search of Ahaziah, and his men captured him while he was hiding1 in Samaria. He was brought to Jehu and put to death. They buried him, for they said, "He was a son of Jehoshaphat, who sought2 the LORD with all his heart." So there was no one in the house of Ahaziah powerful enough to retain the kingdom.
References for 2 Chronicles 22:9