17 Then Jehoiada made a covenant between the Lord, the king, and the people that they would be the Lord’s people and another covenant between the king and the people.
18 So all the people of the land went to the temple of Baal and tore it down. They broke its altars and images into pieces, and they killed Mattan, the priest of Baal, at the altars. Then Jehoiada the priest appointed guards for the Lord’s temple.
19 He took the commanders of hundreds, the Carites, the guards, and all the people of the land, and they brought the king from the Lord’s temple. They entered the king’s palace by way of the guards’ gate. Then Joash sat on the throne of the kings.
20 All the people of the land rejoiced, and the city was quiet, for they had put Athaliah to death by the sword in the king’s palace.
21 Joash was seven years old when he became king.