'Only then did I realize my mistake' is an example of
Question 1
Q1. 'Only then did I realize my mistake' is an example of
Answer: Negative inversion
Explanation: 'Only then' implies a negative condition (not before), and its inversion emphasizes the timing.