The legislation in the Pentateuch assigned numerous duties to the Hebrew priests and Levites. Chief among them were maintaining and transporting the tabernacle (Num. 3–4) and performing the rituals and liturgies associated with Israelite worship in the sanctuary (Exod. 28–29). It is likely that some of these duties were determined by lot and discharged on a rotating basis (cf. 1 Chron. 23–24).