adverb

 

before

He'd previously worked as a teacher.