c. 1200, from here + obsolete Old English toforan "formerly, before now," from to (prep.) + foran (adv.) "in front," dative of for. Also in Middle English heretoforn.
heresiarch
heresy
heretic
heretical
hereto
heretofore
hereunder
hereunto
hereupon
herewith
heriot