Those men were leaders of the groups of men who guarded the gates of the temple. They worked at the temple like their relatives did.