The guards were divided into groups, according to their family leaders, and they were assigned duties at the temple, just like the other Levites.