1 Chronicles 9:19

9:19 Shallum son of Kore, son of Ebiasaph, son of Korah, and his relatives from his family (the Korahites) were assigned to guard the entrance to the sanctuary. Their ancestors had guarded the entrance to the Lord’s dwelling place.

1 Chronicles 9:27

9:27 They would spend the night in their posts all around God’s sanctuary, for they were assigned to guard it and would open it with the key every morning.