The Merarites were assigned by lot twelve towns from the tribes of Reuben, Gad, and Zebulun according to their families.