2 Chronicles 8:14

14 As Solomon's father David had directed, he set up the divisions of priests for their service and the [divisions of] Levites for their appointed places. [The Levites] were to lead in praising [the LORD] and to serve beside the priests by doing whatever needed to be done each day. Solomon also set up divisions of doorkeepers at every gate because this is what David, the man of God, had commanded.