The guards, each with weapon in hand, stationed themselves around the king—near the altar and the temple, from the south side to the north side of the temple.
Jehoiada brought out the king’s son and put the crown on him; he presented him with a copy of the covenant and proclaimed him king. They anointed him, and the people clapped their hands and shouted, “Long live the king!”
When Athaliah heard the noise made by the guards and the people, she went to the people at the temple of the LORD.
She looked and there was the king, standing by the pillar, as the custom was. The officers and the trumpeters were beside the king, and all the people of the land were rejoicing and blowing trumpets. Then Athaliah tore her robes and called out, “Treason! Treason!”
Jehoiada the priest ordered the commanders of units of a hundred, who were in charge of the troops: “Bring her out between the ranks and put to the sword anyone who follows her.” For the priest had said, “She must not be put to death in the temple of the LORD.”
So they seized her as she reached the place where the horses enter the palace grounds, and there she was put to death.
Jehoiada then made a covenant between the LORD and the king and people that they would be the LORD’s people. He also made a covenant between the king and the people.
All the people of the land went to the temple of Baal and tore it down. They smashed the altars and idols to pieces and killed Mattan the priest of Baal in front of the altars. Then Jehoiada the priest posted guards at the temple of the LORD.
He took with him the commanders of hundreds, the Carites, the guards and all the people of the land, and together they brought the king down from the temple of the LORD and went into the palace, entering by way of the gate of the guards. The king then took his place on the royal throne.
All the people of the land rejoiced, and the city was calm, because Athaliah had been slain with the sword at the palace.
Joash was seven years old when he began to reign.