\s5
\c 11

\p
\v 1 When King Ahaziah's mother Athaliah saw that her son had been killed, she commanded that all the members of Ahaziah's family who might become king must be executed.
\v 2 So Ahaziah's sons were all about to be murdered. But Jehosheba, who was King Jehoram's daughter and Ahaziah's half-sister, took Ahaziah's very young son Joash and hid him and his nursemaid in a bedroom in the temple. So he was not killed.
\v 3 He stayed with Jehosheba for six years. All during that time, he remained hidden in the temple, while Athaliah ruled Judah.

\s5
\p
\v 4 Six years later, Jehoiada the high priest summoned the officers who supervised the royal bodyguards and the palace guards. He told them to come to the temple. There he required them to solemnly promise that they would do what he told them to do. And he showed King Ahaziah's son Joash to them.
\v 5 He gave them these instructions: "There are three groups of you guards. When one group finishes their work on the Sabbath day, divide yourselves into three smaller groups. One group must guard the palace.
\v 6 Another group must guard at the Sur Gate. The other group must guard at the gate behind the other groups.

\s5
\v 7 The two groups that are not working on the Sabbath day must guard the temple to protect little King Joash.
\v 8 You must stand around the king wherever he goes, with your weapons in your hands. You must kill anyone who comes near you."

\s5
\p
\v 9 The officers who supervised the guards did what Jehoiada told them to do. Each one brought to Jehoiada the guards that he supervised—the guards who were just finishing their work and those who were about to start their work on the Sabbath day.
\v 10 The priest distributed to the commanders of the guards the spears and shields that had belonged to King David, that were kept in the temple.

\s5
\v 11 Then he commanded all the guards to stand in their positions, each one with his sword in his hand, all around the king.
\p
\v 12 Then he brought Joash out. He put the crown on his head and gave him a scroll on which were written the rules that the kings needed to obey. Then he poured some olive oil on Joash's head and proclaimed that he was now the king. The people all clapped their hands and shouted, "We desire that the king will live for many years!"

\s5
\p
\v 13 When Athaliah heard the noise that was being made by the guards and the other people, she ran to the temple where the people were gathered.
\v 14 She saw the new king standing there alongside one of the big pillars, which was the place at the temple where the kings usually stood. She saw that he was surrounded by the temple officers and men blowing trumpets, and that the people were shouting joyfully, and some of them were also blowing trumpets. She tore her clothes to show her distress and shouted, "You are traitors! You have betrayed me!"

\s5
\v 15 Jehoiada immediately said, "Kill her, but do not do it here at the temple of Yahweh! Take her away between two rows of guards. And kill anyone who tries to rescue her!"
\v 16 She tried to flee, but the guards seized her and took her to the palace, to the place where horses enter the courtyard. They killed her there.

\s5
\p
\v 17 Then Jehoiada made a covenant between the king and the people, that they would always obey Yahweh. He also made an covenant requiring the people to be loyal to Joash their king.
\v 18 Then all the people of Israel who were there went to the temple of Baal and tore it down. They smashed the altars and the statues of Baal. They also killed Mattan, the priest of Baal, in front of the altars.
\p Jehoiada stationed guards at the temple of Yahweh.

\s5
\v 19 Then he and the officers of the temple, the officers who supervised the royal bodyguards, and the king's bodyguards brought the king from the temple to the palace. All the people followed them. Joash entered the palace at the Guard Gate and sat down on the throne, where the kings had always sat.
\v 20 All the people of Judah rejoiced. And because Athaliah had been killed, the city was quiet.

\s5
\p
\v 21 Joash was seven years old when he became the king of Judah.