19Anditcametopass,thatwhenthegatesofJerusalembegantobedarkbeforethesabbath,Icommandedthatthegatesshouldbeshut,andchargedthattheyshouldnotbeopenedtillafterthesabbath:andsomeofmyservantssetIatthegates,thatthereshouldnoburdenbebroughtinonthesabbathday.

Please segment the words:
19 And it came to pass, that when the gates of Jerusalem began to be dark before the sabbath, I commanded that the gates should be shut, and charged that they should not be opened till after the sabbath: and some of my servants set I at the gates, that there should no burden be brought in on the sabbath day.