2 Chronicles 22:7-12

7 God caused Ahaziah's death when he went to visit Joram. Ahaziah arrived and went out with Joram to meet Jehu son of Nimshi, whom the Lord had appointed to destroy Ahab's family.
8 While Jehu was punishing Ahab's family, he found the leaders of Judah and the sons of Ahaziah's relatives who served Ahaziah, and Jehu killed them all.
9 Then Jehu looked for Ahaziah. Jehu's men caught him hiding in Samaria, so they brought him to Jehu. Then they killed and buried him. They said, "Ahaziah is a descendant of Jehoshaphat, and Jehoshaphat obeyed the Lord with all his heart." No one in Ahaziah's family had the power to take control of the kingdom of Judah.
10 When Ahaziah's mother, Athaliah, saw that her son was dead, she killed all the royal family in Judah.
11 But Jehosheba, King Jehoram's daughter, took Joash, Ahaziah's son. She stole him from among the other sons of the king who were going to be murdered and put him and his nurse in a bedroom. So Jehosheba, who was King Jehoram's daughter and Ahaziah's sister and the wife of Jehoiada the priest, hid Joash so Athaliah could not kill him.
12 He hid with them in the Temple of God for six years. During that time Athaliah ruled the land.
Scripture taken from the New Century Version. Copyright © 1987, 1988, 1991 by Thomas Nelson, Inc. Used by permission. All rights reserved.