They appointed the kohanim in their divisions and the Levites in their divisions over the service of God at Jerusalem, as it is written in the book of Moses.