שָׁם shâm (H8033)

there (transferring to time) then; often thither, or thence

1) there, thither 1a) there 1b) thither (after verbs of motion) 1c) from there, thence 1d) then (as an adverb of time)

a primitive particle (rather from the relative pronoun, אֲשֶׁר (H834));