The gatekeepers who returned were Shallum, Akkub, Talmon, Ahiman, and their relatives. Shallum was the chief gatekeeper. Prior to this time, they were responsible for the King’s Gate on the east side. These men served as gatekeepers for the camps of the Levites. Shallum was the son of Kore, a descendant of Abiasaph, from the clan of Korah. He and his relatives, the Korahites, were responsible for guarding the entrance to the sanctuary, just as their ancestors had guarded the Tabernacle in the camp of the LORD.
Phinehas son of Eleazar had been in charge of the gatekeepers in earlier times, and the LORD had been with him. And later Zechariah son of Meshelemiah was responsible for guarding the entrance to the Tabernacle.
In all, there were 212 gatekeepers in those days, and they were listed according to the genealogies in their villages. David and Samuel the seer had appointed their ancestors because they were reliable men. These gatekeepers and their descendants, by their divisions, were responsible for guarding the entrance to the house of the LORD when that house was a tent. The gatekeepers were stationed on all four sides—east, west, north, and south. Their relatives in the villages came regularly to share their duties for seven-day periods.
The four chief gatekeepers, all Levites, were trusted officials, for they were responsible for the rooms and treasuries at the house of God. They would spend the night around the house of God, since it was their duty to guard it and to open the gates every morning.
Some of the gatekeepers were assigned to care for the various articles used in worship. They checked them in and out to avoid any loss. Others were responsible for the furnishings, the items in the sanctuary, and the supplies, such as choice flour, wine, olive oil, frankincense, and spices. But it was the priests who blended the spices. Mattithiah, a Levite and the oldest son of Shallum the Korahite, was entrusted with baking the bread used in the offerings. And some members of the clan of Kohath were in charge of preparing the bread to be set on the table each Sabbath day.
The musicians, all prominent Levites, lived at the Temple. They were exempt from other responsibilities since they were on duty at all hours.