Fill the correct tense:
As he (enter) this room he (take) off his hat.
As he entered the room he took off his hat.