So they and their sons were assigned to the gates of the LORD's temple, which had been the tent-temple. 