2 Chronicles 23:13-21

13 There she saw the new king at the Temple entrance, standing by the column reserved for kings and surrounded by the army officers and the trumpeters. All the people were shouting joyfully and blowing trumpets, and the Temple musicians with their instruments were leading the celebration. She tore her clothes in distress and shouted, "Treason! Treason!"
14 Jehoiada did not want Athaliah killed in the Temple area, so he called out the army officers and said, "Take her out between the rows of guards, and kill anyone who tries to rescue her.
15 They seized her, took her to the palace, and there at the Horse Gate they killed her.
16 The priest Jehoiada had King Joash and the people join him in making a covenant that they would be the Lord's people.
17 Then they all went to the temple of Baal and tore it down. They smashed the altars and idols there and killed Mattan, the priest of Baal, in front of the altars.
18 Jehoiada put the priests and Levites in charge of the work of the Temple. They were to carry out the duties assigned to them by King David and to burn the sacrifices offered to the Lord in accordance with the Law of Moses. They were also in charge of the music and the celebrations.
19 Jehoiada also put guards on duty at the Temple gates to keep out anyone who was ritually unclean
20 The army officers, the leading citizens, the officials, and all the rest of the people joined Jehoiada in a procession that brought the king from the Temple to the palace. They entered by the main gate, and the king took his place on the throne.
21 All the people were filled with happiness, and the city was quiet, now that Athaliah had been killed
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.