David divided them into divisions based on Gershon, Kohath, and Merari, Levi's sons.