NOT UNTIL HE (A) GOT HOME (B) HE REALIZED HE HAD FORGOTTEN TO GIVE...

49. Not until he (A) got home (B) he realized he had forgotten to give (C) her (D) the present.