2 Chronicles 23:16-20 New American Standard Bible (NASB)

16. Then Jehoiada made a covenant between himself and all the people and the king, that they would be the Lord's people.

17. And all the people went to the house of Baal and tore it down, and they broke in pieces his altars and his images, and killed Mattan the priest of Baal before the altars.

18. Moreover, Jehoiada placed the offices of the house of the Lord under the authority of the Levitical priests, whom David had assigned over the house of the Lord, to offer the burnt offerings of the Lord, as it is written in the law of Moses-with rejoicing and singing according to the order of David.

19. He stationed the gatekeepers of the house of the Lord, so that no one would enter who was in any way unclean.

20. He took the captains of hundreds, the nobles, the rulers of the people and all the people of the land, and brought the king down from the house of the Lord, and came through the upper gate to the king's house. And they placed the king upon the royal throne.

2 Chronicles 23