тогда-то

Etymology
From.

Adverb

 * 1) just then
 * 2) that was the time when; that was just when