David separated the Levites into divisions corresponding to the sons of Levi: Gershon, Kohath and Merari.