WHEN I GOT TO THE OFFICE, I --- THAT I HAD FORGOT TO LOCK THE DOOR....

7. When I got to the office, I --- that I had forgot to lock the door.

a. realized b. had realized c. realize d. have realized