"in that place, time, or thing," Old English þærin; see there + in. Similar formation in German darin.
they can read therein what our plans are
thereafter
thereby
therefor
therefore
therefrom
therein
theremin
thereof
thereon
Theresa
thereto