English Standard Version
He searched for Ahaziah, and he was captured while hiding in Samaria, and he was brought to Jehu and put to death. They buried him, for they said, "He is the grandson of Jehoshaphat, who sought the LORD with all his heart." And the house of Ahaziah had no one able to rule the kingdom.New International Version
He then went in search of Ahaziah, and his men captured him while he was hiding in Samaria. He was brought to Jehu and put to death. They buried him, for they said, "He was a son of Jehoshaphat, who sought the LORD with all his heart." So there was no one in the house of Ahaziah powerful enough to retain the kingdom.Catholic Public Domain Version
Also, while he himself was seeking Ahaziah, he found him to be hiding in Samaria. And having been led to him, he killed him. And they buried him, because he was the son of Jehoshaphat, who had sought the Lord with all his heart. But there was no longer any hope that someone from the stock of Ahaziah would reign