at the time being talked about, especially a past or future time
I lived in Boston then.
By then, we knew the answer.
Do not confuse then with than. Than is used when you compare two things.
Common phrases & grammar
back then · by then · until then
subject + verb + then
by then + subject + verb