Using inversion: I didn't begin to work until I realized how muc

Using inversion:
I didn't begin to work until I realized how much time I had wasted.
【正确答案】:Not until I began to work did I realize how much time I had wasted.